LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

OnReceiveAssociateReject Method (DicomNet)








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. .NET support
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
)
ObjectiveC Syntax
 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

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

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 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