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

View Source

HttpOperationException()

Initializes a new instance of the HttpOperationException class.

Declaration
public HttpOperationException()
View Source

HttpOperationException(string)

Initializes a new instance of the HttpOperationException class.

Declaration
public HttpOperationException(string message)
Parameters
Type Name Description
string message

The exception message.

View Source

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 Source

Body

Gets or sets the response object.

Declaration
public object Body { get; set; }
Property Value
Type Description
object
View Source

Request

Gets information about the associated HTTP request.

Declaration
public HttpRequestMessageWrapper Request { get; set; }
Property Value
Type Description
HttpRequestMessageWrapper
View Source

Response

Gets information about the associated HTTP response.

Declaration
public HttpResponseMessageWrapper Response { get; set; }
Property Value
Type Description
HttpResponseMessageWrapper

Implements

ISerializable
  • View Source
In this article
Back to top Generated by DocFX