Share via


DefaultHubLifetimeManager<THub>.SendAllAsync Méthode

Définition

Envoie un message d’appel à toutes les connexions hub.

public override System.Threading.Tasks.Task SendAllAsync (string methodName, object[] args, System.Threading.CancellationToken cancellationToken = default);
public override System.Threading.Tasks.Task SendAllAsync (string methodName, object?[]? args, System.Threading.CancellationToken cancellationToken = default);
public override System.Threading.Tasks.Task SendAllAsync (string methodName, object?[] args, System.Threading.CancellationToken cancellationToken = default);
override this.SendAllAsync : string * obj[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function SendAllAsync (methodName As String, args As Object(), Optional cancellationToken As CancellationToken = Nothing) As Task

Paramètres

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 à