Initializes a new instance of the HttpRequestException class with a specific message that describes the current exception.
public:
HttpRequestException(System::String ^ message);
public HttpRequestException(string message);
public HttpRequestException(string? message);
new System.Net.Http.HttpRequestException : string -> System.Net.Http.HttpRequestException
Public Sub New (message As String)
Parameters
A message that describes the current exception.
HttpRequestException(String, Exception)Initializes a new instance of the HttpRequestException class with a specific message that describes the current exception and an inner exception.
public:
HttpRequestException(System::String ^ message, Exception ^ inner);
public HttpRequestException(string message, Exception inner);
public HttpRequestException(string? message, Exception? inner);
new System.Net.Http.HttpRequestException : string * Exception -> System.Net.Http.HttpRequestException
Public Sub New (message As String, inner As Exception)
Parameters
A message that describes the current exception.
HttpRequestException(String, Exception, Nullable<HttpStatusCode>)Initializes a new instance of the HttpRequestException class with a specific message that describes the current exception, an inner exception, and an HTTP status code.
public:
HttpRequestException(System::String ^ message, Exception ^ inner, Nullable<System::Net::HttpStatusCode> statusCode);
public HttpRequestException(string? message, Exception? inner, System.Net.HttpStatusCode? statusCode);
new System.Net.Http.HttpRequestException : string * Exception * Nullable<System.Net.HttpStatusCode> -> System.Net.Http.HttpRequestException
Public Sub New (message As String, inner As Exception, statusCode As Nullable(Of HttpStatusCode))
Parameters
A message that describes the current exception.
HttpRequestException(HttpRequestError, String, Exception, Nullable<HttpStatusCode>)public HttpRequestException(System.Net.Http.HttpRequestError httpRequestError, string? message = default, Exception? inner = default, System.Net.HttpStatusCode? statusCode = default);
new System.Net.Http.HttpRequestException : System.Net.Http.HttpRequestError * string * Exception * Nullable<System.Net.HttpStatusCode> -> System.Net.Http.HttpRequestException
Public Sub New (httpRequestError As HttpRequestError, Optional message As String = Nothing, Optional inner As Exception = Nothing, Optional statusCode As Nullable(Of HttpStatusCode) = Nothing)
Parameters
A message that describes the current exception.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4