HubLifetimeManager<THub>.SendAllExceptAsync Metoda

Definicja

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

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

Parametry

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