dcmNET Class Library

A_Associate.Reject Method 

Reject an association request, sent by a remote association requester application.

[Visual Basic]
Public Sub Reject( _
   ByVal result As Integer, _
   ByVal reason As Integer _
)
[C#]
public void Reject(
   int result,
   int reason
);

Parameters

result
Type of reject, it shall take one of the following values:
  • 1 - REJECTED_PERMANENT
  • 2 - REJECTED_TRANSIENT
list>
reason
Specifies why the association is being rejected, if the Source field has the value (1) “DICOM UL service-user”, it shall take one of the following values:
  • 1 - NO_REASON_GIVEN
  • 2 - APPLICATION_CONTEXT_NOT_SUPPORTED
  • 3 - CALLING_AET_NOT_RECOGNIZED
  • 7 - CALLED_AET_NOT_RECOGNIZED

See Also

A_Associate Class | dcmNET Namespace