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 _
    ) 
    'Usage
     
    
    Dim instance As DicomContext
    Dim Reason As System.Byte
     
    instance.Reject(Reason)
    public void Reject( 
       System.byte Reason
    )
    public procedure Reject( 
        Reason: System.Byte
    ); 
    public function Reject( 
       Reason : System.byte
    );
    public: void Reject( 
       System.byte Reason
    ) 
    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