LEADTOOLS Medical (Leadtools.Dicom assembly)

OnReceiveAssociateReject Method (IDicomEvents)

Show in webframe







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

            

            
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

See Also

Reference

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