DefaultHubLifetimeManager<THub>.SendAllExceptAsync Método

Definición

Envía un mensaje de invocación a todas las conexiones de concentrador, excepto las conexiones especificadas.

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

Parámetros

methodName
String

Nombre del método de invocación.

args
Object[]

Argumentos de invocación.

excludedConnectionIds
IReadOnlyList<String>

Colección de identificadores de conexión que se van a excluir.

cancellationToken
CancellationToken

Token para supervisar solicitudes de cancelación. El valor predeterminado es None.

Devoluciones

Task que representa el envío asincrónico.

Se aplica a