DicomObjects.NET Core 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



In This Topic
    Reject(Byte,Byte,Byte) Method
    In This Topic
    Reject a whole association request
    Syntax
    'Declaration
     
    
    Public Overloads Sub Reject( _
       ByVal Result As Byte, _
       ByVal Source As Byte, _
       ByVal Reason As Byte _
    ) 
    'Usage
     
    
    Dim instance As AssociationRequestArgs
    Dim Result As Byte
    Dim Source As Byte
    Dim Reason As Byte
     
    instance.Reject(Result, Source, Reason)
    public void Reject( 
       byte Result,
       byte Source,
       byte Reason
    )
    public:
    void Reject( 
       byte Result,
       byte Source,
       byte 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also