C# Класс Amazon.Runtime.AmazonServiceException

A base exception for some Amazon Web Services.

Most exceptions thrown to client code will be service-specific exceptions, though some services may throw this exception if there is a problem which is caught in the core client code.

Наследование: System.Exception
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AmazonServiceException ( ) : System
AmazonServiceException ( Exception innerException ) : System
AmazonServiceException ( string message ) : System
AmazonServiceException ( string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode ) : System
AmazonServiceException ( string message, Exception innerException ) : System
AmazonServiceException ( string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode ) : System
AmazonServiceException ( string message, Exception innerException, HttpStatusCode statusCode ) : System

Защищенные методы

Метод Описание
AmazonServiceException ( System info, System context ) : System

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

Приватные методы

Метод Описание
BuildGenericErrorMessage ( string errorCode, HttpStatusCode statusCode ) : string
GetObjectData ( System info, System context ) : void

Описание методов

AmazonServiceException() публичный Метод

public AmazonServiceException ( ) : System
Результат System

AmazonServiceException() публичный Метод

public AmazonServiceException ( Exception innerException ) : System
innerException System.Exception
Результат System

AmazonServiceException() защищенный Метод

Constructs a new instance of the AmazonServiceException class with serialized data.
The parameter is null. The class name is null or is zero (0).
protected AmazonServiceException ( System info, System context ) : System
info System The that holds the serialized object data about the exception being thrown.
context System The that contains contextual information about the source or destination.
Результат System

AmazonServiceException() публичный Метод

public AmazonServiceException ( string message ) : System
message string
Результат System

AmazonServiceException() публичный Метод

public AmazonServiceException ( string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode ) : System
message string
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode
Результат System

AmazonServiceException() публичный Метод

public AmazonServiceException ( string message, Exception innerException ) : System
message string
innerException System.Exception
Результат System

AmazonServiceException() публичный Метод

public AmazonServiceException ( string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode ) : System
message string
innerException System.Exception
errorType ErrorType
errorCode string
requestId string
statusCode HttpStatusCode
Результат System

AmazonServiceException() публичный Метод

public AmazonServiceException ( string message, Exception innerException, HttpStatusCode statusCode ) : System
message string
innerException System.Exception
statusCode HttpStatusCode
Результат System