HubLifetimeContext 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.
Context for the hub lifetime events OnConnectedAsync() and OnDisconnectedAsync(Exception).
public ref class HubLifetimeContext sealed
public sealed class HubLifetimeContext
type HubLifetimeContext = class
Public NotInheritable Class HubLifetimeContext
- Inheritance
-
HubLifetimeContext
Constructors
HubLifetimeContext(HubCallerContext, IServiceProvider, Hub) |
Instantiates a new instance of the HubLifetimeContext class. |
Properties
Context |
Gets the context for the active Hub connection and caller. |
Hub |
Gets the Hub instance. |
ServiceProvider |
The IServiceProvider specific to the scope of this Hub method invocation. |