Visual Basic (Declaration) | |
---|---|
Protected Overridable Sub OnReceiveAssociateReject( _ ByVal result As DicomAssociateRejectResultType, _ ByVal source As DicomAssociateRejectSourceType, _ ByVal reason As DicomAssociateRejectReasonType _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
protected virtual void OnReceiveAssociateReject( DicomAssociateRejectResultType result, DicomAssociateRejectSourceType source, DicomAssociateRejectReasonType reason ) |
Managed Extensions for 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 SendAssociateRequest.
A call to this method is generated on an SCU when an SCP calls 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: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family