HubCallerContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A context abstraction for accessing information about the hub caller connection.
public ref class HubCallerContext abstract
public abstract class HubCallerContext
type HubCallerContext = class
Public MustInherit Class HubCallerContext
- Inheritance
-
HubCallerContext
Constructors
HubCallerContext() |
Properties
ConnectionAborted |
Gets a CancellationToken that notifies when the connection is aborted. |
ConnectionId |
Gets the connection ID. |
Features |
Gets the collection of HTTP features available on the connection. |
Items |
Gets a key/value collection that can be used to share data within the scope of this connection. |
User |
Gets the user. |
UserIdentifier |
Gets the user identifier. |
Methods
Abort() |
Aborts the connection. |
Extension Methods
GetHttpContext(HubCallerContext) |
Gets HttpContext from the specified connection, or |