DicomObjects.NET.V8
DicomObjects Namespace / DicomContext Class / Reject Method

Byte value, the reason for rejection




In This Topic
    Reject Method (DicomContext)
    In This Topic
    Rejects a particular presentation context
    Syntax
    'Declaration
     
    Public Sub Reject( _
       ByVal Reason As Byte _
    ) 
    'Usage
     
    Dim instance As DicomContext
    Dim Reason As Byte
     
    instance.Reject(Reason)
    public void Reject( 
       byte Reason
    )
    public:
    void Reject( 
       byte Reason
    ) 

    Parameters

    Reason

    Byte value, the reason for rejection

    Remarks

    This method, and setting of the AcceptedTS property are mutually exclusive, and if both are used, the latest used takes precedence.

    The defined reasons are:

    • 1: user-rejection
    • 2: no-reason (provider rejection)
    • 3: abstract-syntax-not-supported (provider rejection)
    • 4: transfer-syntax-not-supported (provider rejection)
    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also