DicomObjects.NetStandard 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 Byte _
    ) 
     
    'Usage
     
    
    Dim instance As DicomContext
    Dim Reason As 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: 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