Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: HttpException(HttpStatusCode, string, string)

Declaration

public HttpException(
    HttpStatusCode statusCode,
    string message = null,
    string userMessage = null
)

Summary

Constructor.

Parameters

HttpStatusCodestatusCode The status code associated with this exception.
stringmessage An optional exception message. If omitted, the userMessage will be used.
stringuserMessage An optional error message which may be revealed to the user. If omitted, a default status code description will be used.