DicomObjects.NET.8.48 Documentation
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 System.Byte _
    ) 
    public void Reject( 
       System.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 4.8 or higher

    See Also