Visual Basic (Declaration) | |
---|---|
Public Function GetLastOperationStatus() As DicomCommandStatusType |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DicomPrintScu Dim value As DicomCommandStatusType value = instance.GetLastOperationStatus() |
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 DicomPrintScu.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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)