Show / Hide Table of Contents

Class HttpOperationException

Exception thrown for an invalid response with custom error information.

Inheritance
object
Exception
HttpOperationException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.ToString()
Exception.GetType()
Exception.TargetSite
Exception.Message
Exception.Data
Exception.InnerException
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.StackTrace
Exception.SerializeObjectState
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: k8s.Autorest
Assembly: KubernetesClient.dll
Syntax
public class HttpOperationException : Exception, ISerializable

Constructors

HttpOperationException()

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

Body

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

Implements

ISerializable
In this article
Back to top Generated by DocFX