SignalRError Class

Visual Studio 2010
.NET Framework 4

Represents errors that are thrown by the SignalR client

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

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

public class SignalRError : IDisposable

The SignalRError type exposes the following members.

  NameDescription
Public methodSignalRErrorCreate custom SignalR based error.
Top

  NameDescription
Public propertyExceptionThe unwrapped underlying exception
Public propertyResponseBodyThe response body of the error, if it was a WebException and the response is readable
Public propertyStatusCodeThe status code of the error (if it was a WebException)
Top

  NameDescription
Public methodDispose()Dispose of the response
Protected methodDispose(Boolean)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringAllow a SignalRError to be directly written to an output stream (Overrides Object.ToString().)
Top

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