HttpUnhandledException Constructor (String, Exception)


This API supports the product 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


Type: System.String

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

Type: System.Exception

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

.NET Framework
Available since 2.0
Return to top