- result
- The type of the Association rejection.
- source
- The source of the Association rejection.
- reason
- The reason for the Association rejection.
Visual Basic (Declaration) | |
---|---|
Protected Overridable Sub OnReceiveAssociateReject( _ ByVal result As DicomAssociateRejectResultType, _ ByVal source As DicomAssociateRejectSourceType, _ ByVal reason As DicomAssociateRejectReasonType _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DicomNet Dim result As DicomAssociateRejectResultType Dim source As DicomAssociateRejectSourceType Dim reason As DicomAssociateRejectReasonType instance.OnReceiveAssociateReject(result, source, reason) |
C# | |
---|---|
protected virtual void OnReceiveAssociateReject( DicomAssociateRejectResultType result, DicomAssociateRejectSourceType source, DicomAssociateRejectReasonType reason ) |
C++/CLI | |
---|---|
protected: virtual void OnReceiveAssociateReject( DicomAssociateRejectResultType result, DicomAssociateRejectSourceType source, DicomAssociateRejectReasonType reason ) |
Parameters
- result
- The type of the Association rejection.
- source
- The source of the Association rejection.
- reason
- The reason for the Association rejection.
For an example, refer to Leadtools.Dicom.DicomNet.SendAssociateRequest.
A call to this method is generated on an SCU when an SCP calls Leadtools.Dicom.DicomNet.SendAssociateReject. For more information on DICOM Associate connections, refer to Creating a DICOM Associate Connection.
The value of reason depends on the value of source as follows:
To customize this method, you must derive a class from DicomNet and override this method.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)