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

OnReceiveAbort Method (DicomNet)








The source of the Association aborting.
The reason for the Association aborting. If the source of the aborting is DicomAbortSourceType.User, the reasons for the aborting are not significant.
Notifies a connection that an Abort message was received. .NET support
Syntax
protected virtual void OnReceiveAbort( 
   DicomAbortSourceType source,
   DicomAbortReasonType reason
)
'Declaration
 
Protected Overridable Sub OnReceiveAbort( _
   ByVal source As DicomAbortSourceType, _
   ByVal reason As DicomAbortReasonType _
) 
'Usage
 
Dim instance As DicomNet
Dim source As DicomAbortSourceType
Dim reason As DicomAbortReasonType
 
instance.OnReceiveAbort(source, reason)
protected virtual void OnReceiveAbort( 
   DicomAbortSourceType source,
   DicomAbortReasonType reason
)
ObjectiveC Syntax
 function Leadtools.Dicom.DicomNet.OnReceiveAbort( 
   source ,
   reason 
)
protected:
virtual void OnReceiveAbort( 
   DicomAbortSourceType source,
   DicomAbortReasonType reason
) 

Parameters

source
The source of the Association aborting.
reason
The reason for the Association aborting. If the source of the aborting is DicomAbortSourceType.User, the reasons for the aborting are not significant.
Remarks
A call to this method is generated on a connection when the peer member of the connection calls SendAbort.

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

Please note that it is preferable to close a DICOM Association using the SendReleaseRequest and SendReleaseResponse. For more information on closing a DICOM Association, refer to Closing a DICOM Associate Connection.

Example
For an example, refer to SendAbort.
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
SendAbort Method
SendReleaseRequest Method
SendReleaseResponse Method
OnReceiveReleaseRequest Method
OnReceiveReleaseResponse 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