C# Класс Headless.HttpOutcome

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

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

Метод Описание
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
HttpOutcome ( Uri location, HttpMethod method, HttpStatusCode statusCode, string responseMessage, System.TimeSpan responseTime ) : System

Initializes a new instance of the HttpOutcome class.

ToString ( ) : string

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

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

Initializes a new instance of the HttpOutcome class.

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

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

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

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

Initializes a new instance of the HttpOutcome class.
/// The is null. ///
protected HttpOutcome ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo /// The information. ///
context System.Runtime.Serialization.StreamingContext /// The context. ///
Результат System

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

Initializes a new instance of the HttpOutcome class.
/// The parameter is null. /// /// The parameter is a relative location. ///
public HttpOutcome ( Uri location, HttpMethod method, HttpStatusCode statusCode, string responseMessage, System.TimeSpan responseTime ) : System
location System.Uri /// The location. ///
method HttpMethod /// The request method. ///
statusCode HttpStatusCode /// The status code. ///
responseMessage string /// The response message. ///
responseTime System.TimeSpan /// The response time. ///
Результат System

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

public ToString ( ) : string
Результат string