Share via


HubClientsExtensions.AllExcept Method

Definition

Overloads

AllExcept<T>(IHubClients<T>, IEnumerable<String>)

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

AllExcept<T>(IHubClients<T>, String)

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connection.

AllExcept<T>(IHubClients<T>, String, String)

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

AllExcept<T>(IHubClients<T>, String, String, String)

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

AllExcept<T>(IHubClients<T>, String, String, String, String)

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

AllExcept<T>(IHubClients<T>, String, String, String, String, String)

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

AllExcept<T>(IHubClients<T>, String, String, String, String, String, String)

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

AllExcept<T>(IHubClients<T>, String, String, String, String, String, String, String)

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

AllExcept<T>(IHubClients<T>, String, String, String, String, String, String, String, String)

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

AllExcept<T>(IHubClients<T>, IEnumerable<String>)

Source:
HubClientsExtensions.cs

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

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

Type Parameters

T

Parameters

hubClients
IHubClients<T>

The abstraction that provides access to connections.

excludedConnectionIds
IEnumerable<String>

The connection IDs to exclude.

Returns

T

A T representing the methods that can be invoked on the clients.

Applies to

AllExcept<T>(IHubClients<T>, String)

Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connection.

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

Type Parameters

T

Parameters

hubClients
IHubClients<T>

The abstraction that provides access to connections.

excludedConnectionId1
String

The first connection to exclude.

Returns

T

A T representing the methods that can be invoked on the clients.

Applies to

AllExcept<T>(IHubClients<T>, String, String)

Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

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

Type Parameters

T

Parameters

hubClients
IHubClients<T>

The abstraction that provides access to connections.

excludedConnectionId1
String

The first connection to exclude.

excludedConnectionId2
String

The second connection to exclude.

Returns

T

A T representing the methods that can be invoked on the clients.

Applies to

AllExcept<T>(IHubClients<T>, String, String, String)

Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

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

Type Parameters

T

Parameters

hubClients
IHubClients<T>

The abstraction that provides access to connections.

excludedConnectionId1
String

The first connection to exclude.

excludedConnectionId2
String

The second connection to exclude.

excludedConnectionId3
String

The third connection to exclude.

Returns

T

A T representing the methods that can be invoked on the clients.

Applies to

AllExcept<T>(IHubClients<T>, String, String, String, String)

Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

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

Type Parameters

T

Parameters

hubClients
IHubClients<T>

The abstraction that provides access to connections.

excludedConnectionId1
String

The first connection to exclude.

excludedConnectionId2
String

The second connection to exclude.

excludedConnectionId3
String

The third connection to exclude.

excludedConnectionId4
String

The fourth connection to exclude.

Returns

T

A T representing the methods that can be invoked on the clients.

Applies to

AllExcept<T>(IHubClients<T>, String, String, String, String, String)

Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

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

Type Parameters

T

Parameters

hubClients
IHubClients<T>

The abstraction that provides access to connections.

excludedConnectionId1
String

The first connection to exclude.

excludedConnectionId2
String

The second connection to exclude.

excludedConnectionId3
String

The third connection to exclude.

excludedConnectionId4
String

The fourth connection to exclude.

excludedConnectionId5
String

The fifth connection to exclude.

Returns

T

A T representing the methods that can be invoked on the clients.

Applies to

AllExcept<T>(IHubClients<T>, String, String, String, String, String, String)

Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

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

Type Parameters

T

Parameters

hubClients
IHubClients<T>

The abstraction that provides access to connections.

excludedConnectionId1
String

The first connection to exclude.

excludedConnectionId2
String

The second connection to exclude.

excludedConnectionId3
String

The third connection to exclude.

excludedConnectionId4
String

The fourth connection to exclude.

excludedConnectionId5
String

The fifth connection to exclude.

excludedConnectionId6
String

The sixth connection to exclude.

Returns

T

A T representing the methods that can be invoked on the clients.

Applies to

AllExcept<T>(IHubClients<T>, String, String, String, String, String, String, String)

Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

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

Type Parameters

T

Parameters

hubClients
IHubClients<T>

The abstraction that provides access to connections.

excludedConnectionId1
String

The first connection to exclude.

excludedConnectionId2
String

The second connection to exclude.

excludedConnectionId3
String

The third connection to exclude.

excludedConnectionId4
String

The fourth connection to exclude.

excludedConnectionId5
String

The fifth connection to exclude.

excludedConnectionId6
String

The sixth connection to exclude.

excludedConnectionId7
String

The seventh connection to exclude.

Returns

T

A T representing the methods that can be invoked on the clients.

Applies to

AllExcept<T>(IHubClients<T>, String, String, String, String, String, String, String, String)

Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs
Source:
HubClientsExtensions.cs

Gets a T that can be used to invoke methods on all clients connected to the hub excluding the specified connections.

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

Type Parameters

T

Parameters

hubClients
IHubClients<T>

The abstraction that provides access to connections.

excludedConnectionId1
String

The first connection to exclude.

excludedConnectionId2
String

The second connection to exclude.

excludedConnectionId3
String

The third connection to exclude.

excludedConnectionId4
String

The fourth connection to exclude.

excludedConnectionId5
String

The fifth connection to exclude.

excludedConnectionId6
String

The sixth connection to exclude.

excludedConnectionId7
String

The seventh connection to exclude.

excludedConnectionId8
String

The eighth connection to exclude.

Returns

T

A T representing the methods that can be invoked on the clients.

Applies to