Share via


ExceptionContext Class

.NET Framework 4.5

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class ExceptionContext
'Usage
Dim instance As ExceptionContext
public class ExceptionContext
public ref class ExceptionContext
type ExceptionContext =  class end
public class ExceptionContext

The ExceptionContext type exposes the following members.

Constructors

  Name Description
Public method ExceptionContext

Top

Properties

  Name Description
Public property Error The 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 property Result The value to return in lieu of throwing Error. Whenever Result is set, Error will be set to null.

Top

Methods

  Name Description
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 (Inherited from Object.)

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.Hubs Namespace