C# Class Headless.HttpOutcome

Inheritance: ISerializable
Afficher le fichier Open project: roryprimrose/Headless Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
HttpOutcome ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the HttpOutcome class.

Method Details

GetObjectData() public méthode

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

HttpOutcome() protected méthode

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. ///
Résultat System

HttpOutcome() public méthode

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. ///
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string