C# Класс Headless.HttpOutcomeException

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

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

Метод Описание
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
HttpOutcomeException ( ) : System

Initializes a new instance of the HttpOutcomeException class.

HttpOutcomeException ( HttpResult result, Exception inner ) : System

Initializes a new instance of the HttpOutcomeException class.

HttpOutcomeException ( HttpResult result, HttpStatusCode expectedStatusCode ) : System

Initializes a new instance of the HttpOutcomeException class.

HttpOutcomeException ( HttpResult result, Uri targetLocation ) : System

Initializes a new instance of the HttpOutcomeException class.

HttpOutcomeException ( string message ) : System

Initializes a new instance of the HttpOutcomeException class.

HttpOutcomeException ( string message, Exception inner ) : System

Initializes a new instance of the HttpOutcomeException class.

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

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

Initializes a new instance of the HttpOutcomeException class.

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

Метод Описание
GenerateFailureMessage ( HttpResult result, Exception inner ) : string

Generates the failure message.

GenerateIncorrectLocationMessage ( HttpResult result, Uri targetLocation ) : string

Generates the incorrect location message.

GenerateIncorrectStatusMessage ( HttpResult result, HttpStatusCode expectedStatusCode ) : string

Generates the incorrect status message.

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

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

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Результат void

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

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

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

Initializes a new instance of the HttpOutcomeException class.
public HttpOutcomeException ( HttpResult result, Exception inner ) : System
result HttpResult The result.
inner System.Exception The inner.
Результат System

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

Initializes a new instance of the HttpOutcomeException class.
/// The parameter is null. ///
public HttpOutcomeException ( HttpResult result, HttpStatusCode expectedStatusCode ) : System
result HttpResult /// The result. ///
expectedStatusCode HttpStatusCode /// The expected status code. ///
Результат System

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

Initializes a new instance of the HttpOutcomeException class.
/// The parameter is null. ///
public HttpOutcomeException ( HttpResult result, Uri targetLocation ) : System
result HttpResult /// The result. ///
targetLocation System.Uri /// The target location. ///
Результат System

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

Initializes a new instance of the HttpOutcomeException class.
protected HttpOutcomeException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo /// The that holds the serialized object /// data about the exception being thrown. ///
context System.Runtime.Serialization.StreamingContext /// The that contains contextual /// information about the source or destination. ///
Результат System

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

Initializes a new instance of the HttpOutcomeException class.
public HttpOutcomeException ( string message ) : System
message string /// The message that describes the error. ///
Результат System

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

Initializes a new instance of the HttpOutcomeException class.
public HttpOutcomeException ( string message, Exception inner ) : System
message string /// The message. ///
inner System.Exception /// The inner. ///
Результат System