RedisHubLifetimeManager<THub>.SendGroupExceptAsync Metoda

Definicja

Wysyła komunikat wywołania do określonej grupy z wyłączeniem określonych połączeń.

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

Parametry

groupName
String

Nazwa grupy.

methodName
String

Nazwa metody wywołania.

args
Object[]

Argumenty wywołania.

excludedConnectionIds
IReadOnlyList<String>

Kolekcja identyfikatorów połączeń do wykluczenia.

cancellationToken
CancellationToken

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

Zwraca

Element Task reprezentujący wysyłanie asynchroniczne.

Dotyczy