C# 클래스 Headless.HttpOutcomeException

상속: System.Exception
파일 보기 프로젝트 열기: roryprimrose/Headless

공개 메소드들

메소드 설명
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