HubClientsExtensions.Groups 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Groups<T>(IHubClients<T>, String, String, String, String, String, String, String, String) |
取得 , |
Groups<T>(IHubClients<T>, String, String, String, String, String, String, String) |
取得 , |
Groups<T>(IHubClients<T>, String, String, String, String, String) |
取得 , |
Groups<T>(IHubClients<T>, String, String, String, String) |
取得 , |
Groups<T>(IHubClients<T>, String, String, String, String, String, String) |
取得 , |
Groups<T>(IHubClients<T>, String, String) |
取得 , |
Groups<T>(IHubClients<T>, String) |
取得 , |
Groups<T>(IHubClients<T>, IEnumerable<String>) |
取得 , |
Groups<T>(IHubClients<T>, String, String, String) |
取得 , |
Groups<T>(IHubClients<T>, String, String, String, String, String, String, String, String)
取得 , T
可用來在所有指定群組中的所有連接上叫用方法。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T Groups(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ group1, System::String ^ group2, System::String ^ group3, System::String ^ group4, System::String ^ group5, System::String ^ group6, System::String ^ group7, System::String ^ group8);
public static T Groups<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string group1, string group2, string group3, string group4, string group5, string group6, string group7, string group8);
static member Groups : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string * string * string * string * string * string * string * string -> 'T
<Extension()>
Public Function Groups(Of T) (hubClients As IHubClients(Of T), group1 As String, group2 As String, group3 As String, group4 As String, group5 As String, group6 As String, group7 As String, group8 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- group1
- String
要包含的第一個群組。
- group2
- String
要包含的第二個群組。
- group3
- String
要包含的第三個群組。
- group4
- String
要包含的第四個群組。
- group5
- String
要包含的第五個群組。
- group6
- String
要包含的第六個群組。
- group7
- String
要包含的第七個群組。
- group8
- String
要包含的第八個群組。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
Groups<T>(IHubClients<T>, String, String, String, String, String, String, String)
取得 , T
可用來在所有指定群組中的所有連接上叫用方法。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T Groups(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ group1, System::String ^ group2, System::String ^ group3, System::String ^ group4, System::String ^ group5, System::String ^ group6, System::String ^ group7);
public static T Groups<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string group1, string group2, string group3, string group4, string group5, string group6, string group7);
static member Groups : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string * string * string * string * string * string * string -> 'T
<Extension()>
Public Function Groups(Of T) (hubClients As IHubClients(Of T), group1 As String, group2 As String, group3 As String, group4 As String, group5 As String, group6 As String, group7 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- group1
- String
要包含的第一個群組。
- group2
- String
要包含的第二個群組。
- group3
- String
要包含的第三個群組。
- group4
- String
要包含的第四個群組。
- group5
- String
要包含的第五個群組。
- group6
- String
要包含的第六個群組。
- group7
- String
要包含的第七個群組。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
Groups<T>(IHubClients<T>, String, String, String, String, String)
取得 , T
可用來在所有指定群組中的所有連接上叫用方法。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T Groups(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ group1, System::String ^ group2, System::String ^ group3, System::String ^ group4, System::String ^ group5);
public static T Groups<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string group1, string group2, string group3, string group4, string group5);
static member Groups : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string * string * string * string * string -> 'T
<Extension()>
Public Function Groups(Of T) (hubClients As IHubClients(Of T), group1 As String, group2 As String, group3 As String, group4 As String, group5 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- group1
- String
要包含的第一個群組。
- group2
- String
要包含的第二個群組。
- group3
- String
要包含的第三個群組。
- group4
- String
要包含的第四個群組。
- group5
- String
要包含的第五個群組。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
Groups<T>(IHubClients<T>, String, String, String, String)
取得 , T
可用來在所有指定群組中的所有連接上叫用方法。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T Groups(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ group1, System::String ^ group2, System::String ^ group3, System::String ^ group4);
public static T Groups<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string group1, string group2, string group3, string group4);
static member Groups : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string * string * string * string -> 'T
<Extension()>
Public Function Groups(Of T) (hubClients As IHubClients(Of T), group1 As String, group2 As String, group3 As String, group4 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- group1
- String
要包含的第一個群組。
- group2
- String
要包含的第二個群組。
- group3
- String
要包含的第三個群組。
- group4
- String
要包含的第四個群組。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
Groups<T>(IHubClients<T>, String, String, String, String, String, String)
取得 , T
可用來在所有指定群組中的所有連接上叫用方法。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T Groups(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ group1, System::String ^ group2, System::String ^ group3, System::String ^ group4, System::String ^ group5, System::String ^ group6);
public static T Groups<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string group1, string group2, string group3, string group4, string group5, string group6);
static member Groups : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string * string * string * string * string * string -> 'T
<Extension()>
Public Function Groups(Of T) (hubClients As IHubClients(Of T), group1 As String, group2 As String, group3 As String, group4 As String, group5 As String, group6 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- group1
- String
要包含的第一個群組。
- group2
- String
要包含的第二個群組。
- group3
- String
要包含的第三個群組。
- group4
- String
要包含的第四個群組。
- group5
- String
要包含的第五個群組。
- group6
- String
要包含的第六個群組。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
Groups<T>(IHubClients<T>, String, String)
取得 , T
可用來在所有指定群組中的所有連接上叫用方法。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T Groups(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ group1, System::String ^ group2);
public static T Groups<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string group1, string group2);
static member Groups : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string * string -> 'T
<Extension()>
Public Function Groups(Of T) (hubClients As IHubClients(Of T), group1 As String, group2 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- group1
- String
要包含的第一個群組。
- group2
- String
要包含的第二個群組。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
Groups<T>(IHubClients<T>, String)
取得 , T
可用來在所有指定群組中的所有連接上叫用方法。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T Groups(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ group1);
public static T Groups<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string group1);
static member Groups : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string -> 'T
<Extension()>
Public Function Groups(Of T) (hubClients As IHubClients(Of T), group1 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- group1
- String
要包含的第一個群組。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
Groups<T>(IHubClients<T>, IEnumerable<String>)
取得 , T
可用來在所有指定群組中的所有連接上叫用方法。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T Groups(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::Collections::Generic::IEnumerable<System::String ^> ^ groupNames);
public static T Groups<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, System.Collections.Generic.IEnumerable<string> groupNames);
static member Groups : Microsoft.AspNetCore.SignalR.IHubClients<'T> * seq<string> -> 'T
<Extension()>
Public Function Groups(Of T) (hubClients As IHubClients(Of T), groupNames As IEnumerable(Of String)) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- groupNames
- IEnumerable<String>
組名。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
Groups<T>(IHubClients<T>, String, String, String)
取得 , T
可用來在所有指定群組中的所有連接上叫用方法。
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T Groups(Microsoft::AspNetCore::SignalR::IHubClients<T> ^ hubClients, System::String ^ group1, System::String ^ group2, System::String ^ group3);
public static T Groups<T> (this Microsoft.AspNetCore.SignalR.IHubClients<T> hubClients, string group1, string group2, string group3);
static member Groups : Microsoft.AspNetCore.SignalR.IHubClients<'T> * string * string * string -> 'T
<Extension()>
Public Function Groups(Of T) (hubClients As IHubClients(Of T), group1 As String, group2 As String, group3 As String) As T
類型參數
- T
參數
- hubClients
- IHubClients<T>
提供連線存取權的抽象概念。
- group1
- String
要包含的第一個群組。
- group2
- String
要包含的第二個群組。
- group3
- String
要包含的第三個群組。
傳回
, T
表示可在用戶端上叫用的方法。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應