Table of Contents

Class HttpErrorResponseException

Namespace
Amazon.Runtime.Internal
Assembly
AWSSDK.Core.dll
public class HttpErrorResponseException : Exception, ISerializable
Inheritance
HttpErrorResponseException
Implements
Inherited Members

Constructors

HttpErrorResponseException(IWebResponseData)

public HttpErrorResponseException(IWebResponseData response)

Parameters

response IWebResponseData

HttpErrorResponseException(SerializationInfo, StreamingContext)

Constructs a new instance of the HttpErrorResponseException class with serialized data.

protected HttpErrorResponseException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Exceptions

ArgumentNullException

The info parameter is null.

SerializationException

The class name is null or HResult is zero (0).

HttpErrorResponseException(string, IWebResponseData)

public HttpErrorResponseException(string message, IWebResponseData response)

Parameters

message string
response IWebResponseData

HttpErrorResponseException(string, Exception, IWebResponseData)

public HttpErrorResponseException(string message, Exception innerException, IWebResponseData response)

Parameters

message string
innerException Exception
response IWebResponseData

Properties

Response

public IWebResponseData Response { get; }

Property Value

IWebResponseData

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Exceptions

ArgumentNullException

The info parameter is a null reference (Nothing in Visual Basic).