HubClientsExtensions.AllExcept 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AllExcept<T>(IHubClients<T>, IEnumerable<String>) |
取得 , |
AllExcept<T>(IHubClients<T>, String) |
取得 , |
AllExcept<T>(IHubClients<T>, String, String) |
取得 , |
AllExcept<T>(IHubClients<T>, String, String, String) |
取得 , |
AllExcept<T>(IHubClients<T>, String, String, String, String) |
取得 , |
AllExcept<T>(IHubClients<T>, String, String, String, String, String) |
取得 , |
AllExcept<T>(IHubClients<T>, String, String, String, String, String, String) |
取得 , |
AllExcept<T>(IHubClients<T>, String, String, String, String, String, String, String) |
取得 , |
AllExcept<T>(IHubClients<T>, String, String, String, String, String, String, String, String) |
取得 , |
AllExcept<T>(IHubClients<T>, IEnumerable<String>)
取得 , T
可用來叫用連線至中樞的所有用戶端上的方法,但不包括指定的連線。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T AllExcept(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::Collections::Generic::IEnumerable<System::String ^> ^ excludedConnectionIds);
public static T AllExcept<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, System.Collections.Generic.IEnumerable<string> excludedConnectionIds);
static member AllExcept : Microsoft.AspNetCore.SignalR.IHubClients<'T> * seq<string> -> 'T
<Extension()>
Public Function AllExcept(Of T) (hubClients As IHubClients(Of T), excludedConnectionIds As IEnumerable(Of String)) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- excludedConnectionIds
- IEnumerable<String>
要排除的連接識別碼。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
AllExcept<T>(IHubClients<T>, String)
取得 , T
可用來叫用連線至中樞的所有用戶端上的方法,但不包括指定的連接。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T AllExcept(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ excludedConnectionId1);
public static T AllExcept<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string excludedConnectionId1);
static member AllExcept : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string -> 'T
<Extension()>
Public Function AllExcept(Of T) (hubClients As IHubClients(Of T), excludedConnectionId1 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- excludedConnectionId1
- String
要排除的第一個連線。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
AllExcept<T>(IHubClients<T>, String, String)
取得 , T
可用來叫用連線至中樞的所有用戶端上的方法,但不包括指定的連線。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T AllExcept(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ excludedConnectionId1, System::String ^ excludedConnectionId2);
public static T AllExcept<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string excludedConnectionId1, string excludedConnectionId2);
static member AllExcept : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string * string -> 'T
<Extension()>
Public Function AllExcept(Of T) (hubClients As IHubClients(Of T), excludedConnectionId1 As String, excludedConnectionId2 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- excludedConnectionId1
- String
要排除的第一個連線。
- excludedConnectionId2
- String
要排除的第二個連接。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
AllExcept<T>(IHubClients<T>, String, String, String)
取得 , T
可用來叫用連線至中樞的所有用戶端上的方法,但不包括指定的連線。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T AllExcept(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ excludedConnectionId1, System::String ^ excludedConnectionId2, System::String ^ excludedConnectionId3);
public static T AllExcept<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string excludedConnectionId1, string excludedConnectionId2, string excludedConnectionId3);
static member AllExcept : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string * string * string -> 'T
<Extension()>
Public Function AllExcept(Of T) (hubClients As IHubClients(Of T), excludedConnectionId1 As String, excludedConnectionId2 As String, excludedConnectionId3 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- excludedConnectionId1
- String
要排除的第一個連線。
- excludedConnectionId2
- String
要排除的第二個連接。
- excludedConnectionId3
- String
要排除的第三個連線。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
AllExcept<T>(IHubClients<T>, String, String, String, String)
取得 , T
可用來叫用連線至中樞的所有用戶端上的方法,但不包括指定的連線。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T AllExcept(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ excludedConnectionId1, System::String ^ excludedConnectionId2, System::String ^ excludedConnectionId3, System::String ^ excludedConnectionId4);
public static T AllExcept<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string excludedConnectionId1, string excludedConnectionId2, string excludedConnectionId3, string excludedConnectionId4);
static member AllExcept : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string * string * string * string -> 'T
<Extension()>
Public Function AllExcept(Of T) (hubClients As IHubClients(Of T), excludedConnectionId1 As String, excludedConnectionId2 As String, excludedConnectionId3 As String, excludedConnectionId4 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- excludedConnectionId1
- String
要排除的第一個連線。
- excludedConnectionId2
- String
要排除的第二個連接。
- excludedConnectionId3
- String
要排除的第三個連線。
- excludedConnectionId4
- String
要排除的第四個連線。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
AllExcept<T>(IHubClients<T>, String, String, String, String, String)
取得 , T
可用來叫用連線至中樞的所有用戶端上的方法,但不包括指定的連線。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T AllExcept(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ excludedConnectionId1, System::String ^ excludedConnectionId2, System::String ^ excludedConnectionId3, System::String ^ excludedConnectionId4, System::String ^ excludedConnectionId5);
public static T AllExcept<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string excludedConnectionId1, string excludedConnectionId2, string excludedConnectionId3, string excludedConnectionId4, string excludedConnectionId5);
static member AllExcept : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string * string * string * string * string -> 'T
<Extension()>
Public Function AllExcept(Of T) (hubClients As IHubClients(Of T), excludedConnectionId1 As String, excludedConnectionId2 As String, excludedConnectionId3 As String, excludedConnectionId4 As String, excludedConnectionId5 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- excludedConnectionId1
- String
要排除的第一個連線。
- excludedConnectionId2
- String
要排除的第二個連接。
- excludedConnectionId3
- String
要排除的第三個連線。
- excludedConnectionId4
- String
要排除的第四個連線。
- excludedConnectionId5
- String
要排除的第五個連線。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
AllExcept<T>(IHubClients<T>, String, String, String, String, String, String)
取得 , T
可用來叫用連線至中樞的所有用戶端上的方法,但不包括指定的連線。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T AllExcept(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ excludedConnectionId1, System::String ^ excludedConnectionId2, System::String ^ excludedConnectionId3, System::String ^ excludedConnectionId4, System::String ^ excludedConnectionId5, System::String ^ excludedConnectionId6);
public static T AllExcept<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string excludedConnectionId1, string excludedConnectionId2, string excludedConnectionId3, string excludedConnectionId4, string excludedConnectionId5, string excludedConnectionId6);
static member AllExcept : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string * string * string * string * string * string -> 'T
<Extension()>
Public Function AllExcept(Of T) (hubClients As IHubClients(Of T), excludedConnectionId1 As String, excludedConnectionId2 As String, excludedConnectionId3 As String, excludedConnectionId4 As String, excludedConnectionId5 As String, excludedConnectionId6 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- excludedConnectionId1
- String
要排除的第一個連線。
- excludedConnectionId2
- String
要排除的第二個連接。
- excludedConnectionId3
- String
要排除的第三個連線。
- excludedConnectionId4
- String
要排除的第四個連線。
- excludedConnectionId5
- String
要排除的第五個連線。
- excludedConnectionId6
- String
要排除的第六個連線。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
AllExcept<T>(IHubClients<T>, String, String, String, String, String, String, String)
取得 , T
可用來叫用連線至中樞的所有用戶端上的方法,但不包括指定的連線。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T AllExcept(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ excludedConnectionId1, System::String ^ excludedConnectionId2, System::String ^ excludedConnectionId3, System::String ^ excludedConnectionId4, System::String ^ excludedConnectionId5, System::String ^ excludedConnectionId6, System::String ^ excludedConnectionId7);
public static T AllExcept<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string excludedConnectionId1, string excludedConnectionId2, string excludedConnectionId3, string excludedConnectionId4, string excludedConnectionId5, string excludedConnectionId6, string excludedConnectionId7);
static member AllExcept : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string * string * string * string * string * string * string -> 'T
<Extension()>
Public Function AllExcept(Of T) (hubClients As IHubClients(Of T), excludedConnectionId1 As String, excludedConnectionId2 As String, excludedConnectionId3 As String, excludedConnectionId4 As String, excludedConnectionId5 As String, excludedConnectionId6 As String, excludedConnectionId7 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- excludedConnectionId1
- String
要排除的第一個連線。
- excludedConnectionId2
- String
要排除的第二個連接。
- excludedConnectionId3
- String
要排除的第三個連線。
- excludedConnectionId4
- String
要排除的第四個連線。
- excludedConnectionId5
- String
要排除的第五個連線。
- excludedConnectionId6
- String
要排除的第六個連線。
- excludedConnectionId7
- String
要排除的第七個連線。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
AllExcept<T>(IHubClients<T>, String, String, String, String, String, String, String, String)
取得 , T
可用來叫用連線至中樞的所有用戶端上的方法,但不包括指定的連線。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T AllExcept(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ excludedConnectionId1, System::String ^ excludedConnectionId2, System::String ^ excludedConnectionId3, System::String ^ excludedConnectionId4, System::String ^ excludedConnectionId5, System::String ^ excludedConnectionId6, System::String ^ excludedConnectionId7, System::String ^ excludedConnectionId8);
public static T AllExcept<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string excludedConnectionId1, string excludedConnectionId2, string excludedConnectionId3, string excludedConnectionId4, string excludedConnectionId5, string excludedConnectionId6, string excludedConnectionId7, string excludedConnectionId8);
static member AllExcept : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string * string * string * string * string * string * string * string -> 'T
<Extension()>
Public Function AllExcept(Of T) (hubClients As IHubClients(Of T), excludedConnectionId1 As String, excludedConnectionId2 As String, excludedConnectionId3 As String, excludedConnectionId4 As String, excludedConnectionId5 As String, excludedConnectionId6 As String, excludedConnectionId7 As String, excludedConnectionId8 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- excludedConnectionId1
- String
要排除的第一個連線。
- excludedConnectionId2
- String
要排除的第二個連接。
- excludedConnectionId3
- String
要排除的第三個連線。
- excludedConnectionId4
- String
要排除的第四個連線。
- excludedConnectionId5
- String
要排除的第五個連線。
- excludedConnectionId6
- String
要排除的第六個連線。
- excludedConnectionId7
- String
要排除的第七個連線。
- excludedConnectionId8
- String
要排除的第八個連線。
傳回
, T
表示可在用戶端上叫用的方法。