Leadtools.Dicom.Networking Namespace > IDicomEvents Interface : OnReceiveAbort Method |
void OnReceiveAbort( DicomAbortSourceType source, DicomAbortReasonType reason, DicomNet net )
'Declaration Sub OnReceiveAbort( _ ByVal source As DicomAbortSourceType, _ ByVal reason As DicomAbortReasonType, _ ByVal net As DicomNet _ )
'Usage Dim instance As IDicomEvents Dim source As DicomAbortSourceType Dim reason As DicomAbortReasonType Dim net As DicomNet instance.OnReceiveAbort(source, reason, net)
void OnReceiveAbort( DicomAbortSourceType source, DicomAbortReasonType reason, DicomNet net )
void OnReceiveAbort( DicomAbortSourceType source, DicomAbortReasonType reason, DicomNet^ net )
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 DicomNet.SendReleaseRequest and DicomNet.SendReleaseResponse. For more information on closing a DICOM Association, refer to Closing a DICOM Associate Connection.