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