DefaultHubLifetimeManager<THub>.SendGroupExceptAsync Método

Definición

Envía un mensaje de invocación al grupo especificado excepto las conexiones especificadas.

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);
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

Parámetros

groupName
String

El nombre del grupo.

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