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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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>)
- Source:
- HubClientsExtensions.cs
获取一个 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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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
,它表示可在客户端上调用的方法。