DicomObjects Reference
DicomObjects Reference / DicomContext Object / Reject Method
The reason for rejection.
Reject Method
Description
Reject a particular presentation context
Syntax
Visual Basic
Public Sub Reject( _
   ByVal Reason As Integer _
) 
Parameters
Reason
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-syntaxes-not-supported (provider rejection)
See Also