ExceptionContext Class

.NET Framework 4.5

System::Object
  Microsoft.AspNet.SignalR.Hubs::ExceptionContext

Namespace:  Microsoft.AspNet.SignalR.Hubs
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

public ref class ExceptionContext

The ExceptionContext type exposes the following members.

  NameDescription
Public propertyErrorThe exception to be sent to the calling client. This will be overridden by a generic Exception unless Error is a HubException or EnableDetailedErrors is set to true.
Public propertyResultThe value to return in lieu of throwing Error. Whenever Result is set, Error will be set to null.
Top

  NameDescription
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 methodToString (Inherited from Object.)
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: