HttpUnhandledException Constructor (String, Exception) (System.Web)

Switch View :
ScriptFree
.NET Framework Class Library
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)
Syntax

Visual Basic
Public Sub New ( _
	message As String, _
	innerException As Exception _
)
C#
public HttpUnhandledException(
	string message,
	Exception innerException
)
Visual C++
public:
HttpUnhandledException(
	String^ message, 
	Exception^ innerException
)
F#
new : 
        message:string * 
        innerException:Exception -> HttpUnhandledException

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.
Version Information

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also

Reference