Share via


HubLifetimeContext(HubCallerContext, IServiceProvider, Hub) Constructor

Definition

Instantiates a new instance of the HubLifetimeContext class.

public:
 HubLifetimeContext(Microsoft::AspNetCore::SignalR::HubCallerContext ^ context, IServiceProvider ^ serviceProvider, Microsoft::AspNetCore::SignalR::Hub ^ hub);
public HubLifetimeContext (Microsoft.AspNetCore.SignalR.HubCallerContext context, IServiceProvider serviceProvider, Microsoft.AspNetCore.SignalR.Hub hub);
new Microsoft.AspNetCore.SignalR.HubLifetimeContext : Microsoft.AspNetCore.SignalR.HubCallerContext * IServiceProvider * Microsoft.AspNetCore.SignalR.Hub -> Microsoft.AspNetCore.SignalR.HubLifetimeContext
Public Sub New (context As HubCallerContext, serviceProvider As IServiceProvider, hub As Hub)

Parameters

context
HubCallerContext

Context for the active Hub connection and caller.

serviceProvider
IServiceProvider

The IServiceProvider specific to the scope of this Hub method invocation.

hub
Hub

The instance of the Hub.

Applies to