Leadtools.Dicom Namespace > DicomNet Class : OnReceiveAbort Method |
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
protected: virtual void OnReceiveAbort( DicomAbortSourceType source, DicomAbortReasonType reason )
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.
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