DicomObjects.NET.8.48 Documentation
DicomObjects.DicomWeb Namespace / WorklistEventArgs Class / SetFailed Method
Set DICOM status code in reponse
Set error comment in response






In This Topic
    SetFailed Method (WorklistEventArgs)
    In This Topic
    Set Worklist transaction FAILURE DICOM response. HttpStatus of "Internal Server Error" will be returned to Web Client
    Syntax
    'Declaration
     
    
    Public Sub SetFailed( _
       ByVal status As System.Integer, _
       Optional ByVal errorComment As System.String _
    ) 
    'Usage
     
    
    Dim instance As WorklistEventArgs
    Dim status As System.Integer
    Dim errorComment As System.String
     
    instance.SetFailed(status, errorComment)
    public void SetFailed( 
       System.int status,
       System.string errorComment
    )
    public procedure SetFailed( 
        status: System.Integer;
        errorComment: System.String
    ); 
    public function SetFailed( 
       status : System.int,
       errorComment : System.String
    );
    public: void SetFailed( 
       System.int status,
       System.string* errorComment
    ) 
    public:
    void SetFailed( 
       System.int status,
       System.String^ errorComment
    ) 

    Parameters

    status
    Set DICOM status code in reponse
    errorComment
    Set error comment in response
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also