DefaultHubLifetimeManager<THub>.SendGroupsAsync Metoda

Definicja

Wysyła komunikat wywołania do określonych grup.

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

Parametry

groupNames
IReadOnlyList<String>

Nazwy grup.

methodName
String

Nazwa metody wywołania.

args
Object[]

Argumenty wywołania.

cancellationToken
CancellationToken

Token do monitorowania żądań anulowania. Wartość domyślna to None.

Zwraca

Element Task reprezentujący wysyłanie asynchroniczne.

Dotyczy