HttpOperationException Class
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.
Represents an exception specific to HTTP operations.
public class HttpOperationException : Exception
type HttpOperationException = class
inherit Exception
Public Class HttpOperationException
Inherits Exception
- Inheritance
-
HttpOperationException
Constructors
HttpOperationException() |
Initializes a new instance of the HttpOperationException class. |
HttpOperationException(Nullable<HttpStatusCode>, String, String, Exception) |
Initializes a new instance of the HttpOperationException class with its message and additional properties for the HTTP status code and response content. |
HttpOperationException(String) |
Initializes a new instance of the HttpOperationException class with its message set to |
HttpOperationException(String, Exception) |
Initializes a new instance of the HttpOperationException class with its message set to |
Properties
ResponseContent |
Gets or sets the content of the HTTP response. |
StatusCode |
Gets or sets the HTTP status code. If the property is null, it indicates that no response was received. |