DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomContext Class / Reject Method

Byte value, the reason for rejection







    Reject Method (DicomContext)
    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)

    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