HttpRequestException Constructor (String^, Exception^)

.NET Framework (current version)
 

Initializes a new instance of the HttpRequestException class with a specific message that describes the current exception and an inner exception.

Namespace:   System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

public:
HttpRequestException(
	String^ message,
	Exception^ inner
)

Parameters

message
Type: System::String^

A message that describes the current exception.

inner
Type: System::Exception^

The inner exception.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: