SignalRError Class

.NET Framework 4.5

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 ref class SignalRError : IDisposable

The SignalRError type exposes the following members.

  NameDescription
Public methodSignalRErrorInitializes a new instance of SignalRError class with the specified exception.
Top

  NameDescription
Public propertyExceptionGets or sets the unwrapped underlying exception.
Public propertyResponseBodyGets or sets the response body of the error, if it was a WebException and the response is readable.
Public propertyStatusCodeGets or sets the status code of the error (if it was a WebException).
Top

  NameDescription
Public methodDispose()Releases the resources used by the current instance of the SignalRError class.
Protected methodDispose(Boolean)Releases the unmanaged resources used by the current instance of the DefaultDependencyResolver class and optionally releases the managed resources.
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 methodToStringReturns the string representation of this SignalR error. (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: