DefaultHubLifetimeManager<THub>.SendGroupsAsync Méthode
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.
Envoie un message d’appel aux groupes spécifiés.
public override System.Threading.Tasks.Task SendGroupsAsync (System.Collections.Generic.IReadOnlyList<string> groupNames, string methodName, object[] args, System.Threading.CancellationToken cancellationToken = default);
public override System.Threading.Tasks.Task SendGroupsAsync (System.Collections.Generic.IReadOnlyList<string> groupNames, string methodName, object?[]? args, System.Threading.CancellationToken cancellationToken = default);
public override System.Threading.Tasks.Task SendGroupsAsync (System.Collections.Generic.IReadOnlyList<string> groupNames, string methodName, object?[] args, System.Threading.CancellationToken cancellationToken = default);
override this.SendGroupsAsync : System.Collections.Generic.IReadOnlyList<string> * string * obj[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function SendGroupsAsync (groupNames As IReadOnlyList(Of String), methodName As String, args As Object(), Optional cancellationToken As CancellationToken = Nothing) As Task
Paramètres
- groupNames
- IReadOnlyList<String>
Noms des groupes.
- methodName
- String
Nom de la méthode d’appel.
- args
- Object[]
Arguments d’appel.
- cancellationToken
- CancellationToken
Jeton pour surveiller les requêtes d'annulation. La valeur par défaut est None.
Retours
Task qui représente l'envoi asynchrone.
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