HttpError Constructor (String)

Initializes a new instance of the HttpError class containing error message message.

Namespace:  System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String 

Dim instance As New HttpError(message)
public HttpError(
    string message
)
public:
HttpError(
    String^ message
)
new : 
        message:string -> HttpError
public function HttpError(
    message : String
)

Parameters

  • message
    Type: System.String

    The error message to associate with this instance.

See Also

Reference

HttpError Class

HttpError Overload

System.Web.Http Namespace