Share via


HttpClientException Class

.NET Framework 4.5

The exception that is thrown when the HTTP client is connecting.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.AspNet.SignalR.Client.HttpClientException

Namespace:  Microsoft.AspNet.SignalR.Client
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

Syntax

'Declaration
Public Class HttpClientException _
    Inherits Exception
'Usage
Dim instance As HttpClientException
public class HttpClientException : Exception
public ref class HttpClientException : public Exception
type HttpClientException =  
    class 
        inherit Exception 
    end
public class HttpClientException extends Exception

The HttpClientException type exposes the following members.

Constructors

  Name Description
Public method HttpClientException() Initializes a new instance of the HttpClientException class.
Public method HttpClientException(HttpResponseMessage) Initializes a new instance of the HttpClientException class.
Public method HttpClientException(String) Initializes a new instance of the HttpClientException class.
Public method HttpClientException(String, Exception) Initializes a new instance of the HttpClientException class.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Response Gets or sets the response associated with this client.
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Security Critical. (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Events

  Name Description
Protected event SerializeObjectState (Inherited from Exception.)

Top

Extension Methods

  Name Description
Public Extension Method GetError Simplifies error recognition by unwrapping complex exceptions. (Defined by ErrorExtensions.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AspNet.SignalR.Client Namespace