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

OnReceiveAssociateReject Method (IDicomEvents)








The type of the Association rejection.
The source of the Association rejection.
The reason for the Association rejection.
The DicomNet object of the peer member of the connection.
Notifies a connection that an Associate Reject message was received. .NET support WinRT support
Syntax
'Declaration
 
Sub OnReceiveAssociateReject( _
   ByVal result As DicomAssociateRejectResultType, _
   ByVal source As DicomAssociateRejectSourceType, _
   ByVal reason As DicomAssociateRejectReasonType, _
   ByVal net As DicomNet _
) 
'Usage
 
Dim instance As IDicomEvents
Dim result As DicomAssociateRejectResultType
Dim source As DicomAssociateRejectSourceType
Dim reason As DicomAssociateRejectReasonType
Dim net As DicomNet
 
instance.OnReceiveAssociateReject(result, source, reason, net)
ObjectiveC Syntax
function Leadtools.Dicom.Networking.IDicomEvents.OnReceiveAssociateReject( 
   result ,
   source ,
   reason ,
   net 
)

Parameters

result
The type of the Association rejection.
source
The source of the Association rejection.
reason
The reason for the Association rejection.
net
The DicomNet object of the peer member of the connection.
Remarks
A call to this method is generated on an SCU when an SCP calls 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:

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 DicomNet.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

IDicomEvents Interface
IDicomEvents 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