Class HttpException
Class HttpException
Inheritance
System.Object
    System.Exception
    HttpException
  Implements
System.Runtime.Serialization.ISerializable
  Inherited Members
      System.Exception.GetBaseException()
    
    
      System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    
    
      System.Exception.GetType()
    
    
      System.Exception.ToString()
    
    
      System.Exception.Data
    
    
      System.Exception.HelpLink
    
    
      System.Exception.HResult
    
    
      System.Exception.InnerException
    
    
      System.Exception.Message
    
    
      System.Exception.Source
    
    
      System.Exception.StackTrace
    
    
      System.Exception.TargetSite
    
    
      System.Exception.SerializeObjectState
    
  Namespace: MediaBrowser.Model.Net
Assembly: MediaBrowser.Model.dll
Syntax
public class HttpException : Exception, ISerializableConstructors
HttpException(String)
Initializes a new instance of the HttpException class.
Declaration
public HttpException(string message)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | The message. | 
HttpException(String, Exception)
Initializes a new instance of the HttpException class.
Declaration
public HttpException(string message, Exception innerException)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | The message. | 
| System.Exception | innerException | The inner exception. | 
Properties
IsTimedOut
Gets or sets a value indicating whether this instance is timed out.
Declaration
public bool IsTimedOut { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
 | 
StatusCode
Gets or sets the status code.
Declaration
public HttpStatusCode? StatusCode { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Nullable<System.Net.HttpStatusCode> | The status code. | 
Implements
      System.Runtime.Serialization.ISerializable