DicomObjects.NET.8.48 Documentation
DicomObjects.EventArguments Namespace / AssociationRequestArgs Class / Reject Method / Reject(Byte,Byte,Byte) Method
Result as byte, indicating whether it's a permanent or transient rejection
Source as byte, indicating the source of the rejection
Reason as byte, indicating the reason of the rejection






    Reject(Byte,Byte,Byte) Method
    Reject a whole association request
    Syntax
    'Declaration
     
    
    Public Overloads Sub Reject( _
       ByVal Result As System.Byte, _
       ByVal Source As System.Byte, _
       ByVal Reason As System.Byte _
    ) 
     
    'Usage
     
    
    Dim instance As AssociationRequestArgs
    Dim Result As System.Byte
    Dim Source As System.Byte
    Dim Reason As System.Byte
     
    instance.Reject(Result, Source, Reason)

    Parameters

    Result
    Result as byte, indicating whether it's a permanent or transient rejection
    Source
    Source as byte, indicating the source of the rejection
    Reason
    Reason as byte, indicating the reason of the rejection
    Remarks

    Values for Result, Source and Reason are as follow:

    Result:

    • 1 - rejected-permanent
    • 2 - rejected-transient

    Source

    • 1 - DICOM UL service-user
    • 2 - DICOM UL service-provider (ACSE related function)
    • 3 - DICOM UL service-provider (Presentation related function)

    Reason:

    For Source field value of 1 (DICOM UL service-user)

    • 1 - no-reason-given
    • 2 - application-context-name-not-supported
    • 3 - calling-AE-title-not-recognized
    • 4-6 - reserved
    • 7 - called-AE-title-not-recognized
    • 8-10 - reserved

    For Source field value of 2 (DICOM UL service-provider (ACSE related function))

    • 1 - no-reason-given
    • 2 - protocol-version-not-supported

    For Source field value of 3 (DICOM UL service-provider (Presentation related function))

    • 0 - reserved
    • 1 - temporary-congestion
    • 2 - local-limit-exceeded
    • 3-7 - reserved
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also