Class HttpOperationException
Exception thrown for an invalid response with custom error information.
Implements
Inherited Members
Namespace: k8s.Autorest
Assembly: KubernetesClient.dll
Syntax
public class HttpOperationException : Exception, ISerializable
Constructors
View SourceHttpOperationException()
Initializes a new instance of the HttpOperationException class.
Declaration
public HttpOperationException()
HttpOperationException(string)
Initializes a new instance of the HttpOperationException class.
Declaration
public HttpOperationException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
HttpOperationException(string, Exception)
Initializes a new instance of the HttpOperationException class.
Declaration
public HttpOperationException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
| Exception | innerException | Inner exception. |
Properties
View SourceBody
Gets or sets the response object.
Declaration
public object Body { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Request
Gets information about the associated HTTP request.
Declaration
public HttpRequestMessageWrapper Request { get; set; }
Property Value
| Type | Description |
|---|---|
| HttpRequestMessageWrapper |
Response
Gets information about the associated HTTP response.
Declaration
public HttpResponseMessageWrapper Response { get; set; }
Property Value
| Type | Description |
|---|---|
| HttpResponseMessageWrapper |