Export (0) Print
Expand All

HttpUnhandledException Constructor (String, Exception)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

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

public HttpUnhandledException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

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

innerException
Type: System.Exception

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft