HttpIOException(HttpRequestError, String, Exception) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the HttpIOException class.
public HttpIOException (System.Net.Http.HttpRequestError httpRequestError, string? message = default, Exception? innerException = default);
new System.Net.Http.HttpIOException : System.Net.Http.HttpRequestError * string * Exception -> System.Net.Http.HttpIOException
Public Sub New (httpRequestError As HttpRequestError, Optional message As String = Nothing, Optional innerException As Exception = Nothing)
Parameters
- httpRequestError
- HttpRequestError
The HttpRequestError that caused the exception.
- message
- String
The message string describing the error.
- innerException
- Exception
The exception that is the cause of the current exception.
Applies to
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.