C# Класс Microsoft.Toolkit.Services.RequestFailedException

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

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

Метод Описание
RequestFailedException ( ) : System

Initializes a new instance of the RequestFailedException class. Default constructor.

RequestFailedException ( HttpStatusCode statusCode, string reason ) : System

Initializes a new instance of the RequestFailedException class. Constructor with status code and reason for request failure.

RequestFailedException ( string message ) : System

Initializes a new instance of the RequestFailedException class. Constructor with additional message.

RequestFailedException ( string message, Exception innerException ) : System

Initializes a new instance of the RequestFailedException class. Constructor with additional message and inner exception.

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

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

Initializes a new instance of the RequestFailedException class. Default constructor.
public RequestFailedException ( ) : System
Результат System

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

Initializes a new instance of the RequestFailedException class. Constructor with status code and reason for request failure.
public RequestFailedException ( HttpStatusCode statusCode, string reason ) : System
statusCode HttpStatusCode Failure status code.
reason string Failure reason.
Результат System

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

Initializes a new instance of the RequestFailedException class. Constructor with additional message.
public RequestFailedException ( string message ) : System
message string Additional messsage.
Результат System

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

Initializes a new instance of the RequestFailedException class. Constructor with additional message and inner exception.
public RequestFailedException ( string message, Exception innerException ) : System
message string Additional message.
innerException Exception Reference to inner exception.
Результат System