protected virtual void IfCanceledThrowException()
Protected Sub IfCanceledThrowException()
protected:
void IfCanceledThrowException();
Calling this method throws Leadtools.Dicom.Scp.Command.Exceptions.DICOMCommandOperationCanceledException exception.
This method can be called by the inherited classes at any time to throw an exception if the user called the Cancel method. Usually inherited classes will call this method if the execution can be terminated safely.
Inherited classes should catch the Leadtools.Dicom.Scp.Command.Exceptions.DICOMCommandOperationCanceledException exception to perform any cleaning or handle the communication temination. For example, some DICOM commands may send a response with the status of DicomCommandStatusType.Cancel and abort the connection.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document