←Select platform

OnReceiveAbort Method (DicomNet)

Summary

Notifies a connection that an Abort message was received.

Syntax

C#
VB
C++
protected virtual void OnReceiveAbort(  
   Leadtools.Dicom.DicomAbortSourceType source, 
   Leadtools.Dicom.DicomAbortReasonType reason 
) 
Protected Overridable Sub OnReceiveAbort( _ 
   ByVal source As Leadtools.Dicom.DicomAbortSourceType, _ 
   ByVal reason As Leadtools.Dicom.DicomAbortReasonType _ 
)  
protected: 
virtual void OnReceiveAbort(  
   Leadtools.Dicom.DicomAbortSourceType source, 
   Leadtools.Dicom.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom Assembly
Click or drag to resize