Called to indicate the status of the Print SCU.
public virtual void OnStatus(
DicomPrintScuStatus status,
DicomCommandStatusType operationStatus
)
Public Overridable Sub OnStatus( _
ByVal status As Leadtools.Dicom.DicomPrintScuStatus, _
ByVal operationStatus As Leadtools.Dicom.DicomCommandStatusType _
)
public:
virtual void OnStatus(
Leadtools.Dicom.DicomPrintScuStatus status,
Leadtools.Dicom.DicomCommandStatusType operationStatus
)
status
Specifies the status of the Print SCU.
operationStatus
When the parameter status is one of the ReceivexxxRsp enumerated status values (such as DicomPrintScuStatus.ReceiveCreateFilmSessionRsp), operationStatus will be either DicomCommandStatusType.Success (in case a Success or Warning status code is specified in the response of the Print SCP) or the Failure status code specified in the response. For all other enumerated values of status, operationStatus is meaningless and is always set to 0.
As an example, when the method CreateFilmSession is called to create a Film Session, and assuming that the method succeeds, the callback method OnStatus will be called twice: The first time with status set to DicomPrintScuStatus.SendCreateFilmSessionRQ and operationStatus set to 0, and the second time with status set to DicomPrintScuStatus.ReceiveCreateFilmSessionRsp and operationStatus set to DicomCommandStatusType.Success. When the parameter status is one of the ReceivexxxRsp enumerated status values, the parameter operationStatus is determined as follows:
The implementation of the DicomPrintScu class for this method simply does nothing. In order to make use of this callback method, you should create a new class derived from the DicomPrintScu class and override the method providing the desired implementation.
For an example, refer to Associate.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET