LEADTOOLS Medical (Leadtools.Dicom assembly)

OnReceiveAssociateReject Method (DicomNet)

Show in webframe







The type of the Association rejection.
The source of the Association rejection.
The reason for the Association rejection.
Notifies a connection that an Associate Reject message was received.
Syntax
protected virtual void OnReceiveAssociateReject( 
   DicomAssociateRejectResultType result,
   DicomAssociateRejectSourceType source,
   DicomAssociateRejectReasonType reason
)
'Declaration
 
Protected Overridable Sub OnReceiveAssociateReject( _
   ByVal result As DicomAssociateRejectResultType, _
   ByVal source As DicomAssociateRejectSourceType, _
   ByVal reason As DicomAssociateRejectReasonType _
) 
'Usage
 
Dim instance As DicomNet
Dim result As DicomAssociateRejectResultType
Dim source As DicomAssociateRejectSourceType
Dim reason As DicomAssociateRejectReasonType
 
instance.OnReceiveAssociateReject(result, source, reason)
protected virtual void OnReceiveAssociateReject( 
   DicomAssociateRejectResultType result,
   DicomAssociateRejectSourceType source,
   DicomAssociateRejectReasonType reason
)

            

            
 function Leadtools.Dicom.DicomNet.OnReceiveAssociateReject( 
   result ,
   source ,
   reason 
)
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.
Remarks
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:

Value of source Possible Values of reason
DicomAssociateRejectSourceType.User

DicomAssociateRejectReasonType.Unknown

DicomAssociateRejectReasonType.Application

DicomAssociateRejectReasonType.Calling

DicomAssociateRejectReasonType.Called

DicomAssociateRejectSourceType.Provider1

DicomAssociateRejectReasonType.Unknown

DicomAssociateRejectReasonType.Version

DicomAssociateRejectSourceType.Provider2

DicomAssociateRejectReasonType.Congestion

DicomAssociateRejectReasonType.Limit

To customize this method, you must derive a class from DicomNet and override this method.

Example
For an example, refer to SendAssociateRequest.
Requirements

Target Platforms

See Also

Reference

DicomNet Class
DicomNet Members
SendAssociateReject Method
SendAssociateAccept Method
SendAssociateRequest Method
OnReceiveAssociateAccept Method
OnReceiveAssociateRequest Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features