HttpRequestException Constructor (String, Exception)

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft