DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomPrint Class / CheckStatus Method
String






In This Topic
    CheckStatus Method
    In This Topic
    Check Print Status and return success or error message
    Syntax
    'Declaration
     
    
    Public Sub CheckStatus( _
       ByVal Message As System.String _
    ) 
    'Usage
     
    
    Dim instance As DicomPrint
    Dim Message As System.String
     
    instance.CheckStatus(Message)
    public void CheckStatus( 
       System.string Message
    )
    public procedure CheckStatus( 
        Message: System.String
    ); 
    public function CheckStatus( 
       Message : System.String
    );
    public: void CheckStatus( 
       System.string* Message
    ) 
    public:
    void CheckStatus( 
       System.String^ Message
    ) 

    Parameters

    Message
    String
    Remarks
    This method checks the LastStatus property of the underlying DicomAssociation object, and returns 0 if it is a success status. If false, the default error message together with error code is logged.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also