Breyta

Deila með


HttpUnhandledException Constructors

Definition

Initializes a new instance of the HttpUnhandledException class.

Overloads

HttpUnhandledException()

Initializes a new instance of the HttpUnhandledException class.

HttpUnhandledException(String)

Initializes a new instance of the HttpUnhandledException class with the specified error messages.

HttpUnhandledException(String, Exception)

Initializes a new instance of the HttpUnhandledException class with the specified error message and inner exception.

HttpUnhandledException()

Initializes a new instance of the HttpUnhandledException class.

public:
 HttpUnhandledException();
public HttpUnhandledException ();
Public Sub New ()

Applies to

HttpUnhandledException(String)

Initializes a new instance of the HttpUnhandledException class with the specified error messages.

public:
 HttpUnhandledException(System::String ^ message);
public HttpUnhandledException (string message);
new System.Web.HttpUnhandledException : string -> System.Web.HttpUnhandledException
Public Sub New (message As String)

Parameters

message
String

The message displayed to the client when the exception is thrown.

Applies to

HttpUnhandledException(String, Exception)

Initializes a new instance of the HttpUnhandledException class with the specified error message and inner exception.

public:
 HttpUnhandledException(System::String ^ message, Exception ^ innerException);
public HttpUnhandledException (string message, Exception innerException);
new System.Web.HttpUnhandledException : string * Exception -> System.Web.HttpUnhandledException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message displayed to the client when the exception is thrown.

innerException
Exception

The InnerException, if any, that threw the current exception.

Applies to