HubLifetimeContext(HubCallerContext, IServiceProvider, Hub) Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Instancie une nouvelle instance de la classe HubLifetimeContext.
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)
Paramètres
- context
- HubCallerContext
Contexte de la connexion hub active et de l’appelant.
- serviceProvider
- IServiceProvider
spécifique IServiceProvider à l’étendue de cet appel de méthode Hub.
- hub
- Hub
Instance du hub.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour