DicomObjects.NET.8.48 Documentation
DicomObjects.DicomWeb Namespace / WadoEventArgs Class / ReturnError Method
HttpStatusCode
Custom Error Message to return to Web Client

In This Topic
    ReturnError Method (WadoEventArgs)
    In This Topic
    Return Custom HTTP Resposne to Web Client
    Syntax
    'Declaration
     
    
    Public Sub ReturnError( _
       ByVal Code As System.Net.HttpStatusCode, _
       ByVal ErrorMessage As System.String _
    ) 
    public void ReturnError( 
       System.Net.HttpStatusCode Code,
       System.string ErrorMessage
    )

    Parameters

    Code
    HttpStatusCode
    ErrorMessage
    Custom Error Message to return to Web Client
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also