Share via


DynamicHubClients Class

Definition

A class that provides dynamic access to connections, including the one that sent the current invocation.

public ref class DynamicHubClients
public class DynamicHubClients
type DynamicHubClients = class
Public Class DynamicHubClients
Inheritance
DynamicHubClients

Constructors

DynamicHubClients(IHubCallerClients)

Initializes a new instance of the DynamicHubClients class.

Properties

All

Gets an object that can be used to invoke methods on all clients connected to the hub.

Caller

Gets an object that can be used to invoke methods on the connection which triggered the current invocation.

Others

Gets an object that can be used to invoke methods on connections other than the caller.

Methods

AllExcept(IReadOnlyList<String>)

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

Client(String)

Gets an object that can be used to invoke methods on the specified connection.

Clients(IReadOnlyList<String>)

Gets an object that can be used to invoke methods on the specified connections.

Group(String)

Gets an object that can be used to invoke methods on all connections in the specified group.

GroupExcept(String, IReadOnlyList<String>)

Gets an object that can be used to invoke methods on all connections in the specified group excluding the specified connections.

Groups(IReadOnlyList<String>)

Gets an object that can be used to invoke methods on all connections in all of the specified groups.

OthersInGroup(String)

Gets an object that can be used to invoke methods on connections in a group other than the caller.

User(String)

Gets an object that can be used to invoke methods on all connections associated with the specified user.

Users(IReadOnlyList<String>)

Gets an object that can be used to invoke methods on all connections associated with all of the specified users.

Applies to