Share via


SignalRError Class

.NET Framework 4

Represents errors that are thrown by the SignalR client

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Client.SignalRError

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

Syntax

'Declaration
Public Class SignalRError _
    Implements IDisposable
'Usage
Dim instance As SignalRError
public class SignalRError : IDisposable
public ref class SignalRError : IDisposable
type SignalRError =  
    class 
        interface IDisposable 
    end
public class SignalRError implements IDisposable

The SignalRError type exposes the following members.

Constructors

  Name Description
Public method SignalRError Create custom SignalR based error.

Top

Properties

  Name Description
Public property Exception The unwrapped underlying exception
Public property ResponseBody The response body of the error, if it was a WebException and the response is readable
Public property StatusCode The status code of the error (if it was a WebException)

Top

Methods

  Name Description
Public method Dispose() Dispose of the response
Protected method Dispose(Boolean)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Allow a SignalRError to be directly written to an output stream (Overrides Object.ToString().)

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