Visual Basic (Declaration) | |
---|---|
Public Function GetLastOperationStatus() As DicomCommandStatusType |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public DicomCommandStatusType GetLastOperationStatus() |
Managed Extensions for C++ | |
---|---|
public: DicomCommandStatusType GetLastOperationStatus(); |
C++/CLI | |
---|---|
public: DicomCommandStatusType GetLastOperationStatus(); |
Return Value
The status code returned in the response of the Print SCP to the last operation requested on a SOP Class.For an example, refer to Associate.
Status codes are grouped by the Print Management Service Class into Success, Warning,
and Failure categories. The DicomCommandStatusType
enumeration specifies some of the possible status codes.
When a method of the DicomPrintScu class requests the Print SCP to perform an operation on a SOP Class, the Print SCP is supposed to specify a status code in its response to the request. This method returns the status code specified by the Print SCP. The category of the status code can be determined as follows:
If the method that made the request threw a DicomExceptionCode.PrintSCUFailureStatus exception, then the status code returned by DicomPrintScu.GetLastOperationStatus is a Failure code. If the method that made the request was successful, then the status code returned by GetLastOperationStatus is a Warning code if it is not DicomCommandStatusType.Success.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family