C# Class Headless.HttpOutcome

Inheritance: ISerializable
Datei anzeigen Open project: roryprimrose/Headless Class Usage Examples

Public Methods

Method Description
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

Protected Methods

Method Description
HttpOutcome ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the HttpOutcome class.

Method Details

GetObjectData() public method

The is null.
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

HttpOutcome() protected method

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. ///
return System

HttpOutcome() public method

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. ///
return System

ToString() public method

public ToString ( ) : string
return string