DicomObjects.NET8 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 Integer, _
       Optional ByVal errorComment As String _
    ) 
    'Usage
     
    
    Dim instance As WorklistEventArgs
    Dim status As Integer
    Dim errorComment As String
     
    instance.SetFailed(status, errorComment)
    public void SetFailed( 
       int status,
       string errorComment
    )
    public:
    void SetFailed( 
       int status,
       String^ errorComment
    ) 

    Parameters

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

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also