IHubClients<T>.AllExcept(IReadOnlyList<String>) 方法

定義

取得 , T 可用來叫用連線到中樞的所有用戶端上的方法,但不包括指定的用戶端連線。

C#
public T AllExcept (System.Collections.Generic.IReadOnlyList<string> excludedConnectionIds);

參數

excludedConnectionIds
IReadOnlyList<String>

要排除的連接識別碼集合。

傳回

T

用戶端呼叫端。

適用於

產品 版本
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0