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>)
- Source:
- HubClientsExtensions.cs
获取一个 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>
要排除的连接 ID。
返回
一个 T
,表示可在客户端上调用的方法。
适用于
AllExcept<T>(IHubClients<T>, String)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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)
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
- Source:
- HubClientsExtensions.cs
获取一个 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
,表示可在客户端上调用的方法。