HubConnectionContext Class

.NET Framework 4.5

Encapsulates all information about an individual SignalR connection for an IHub .


Namespace:  Microsoft.AspNet.SignalR.Hubs
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

public class HubConnectionContext : IHubConnectionContext

The HubConnectionContext type exposes the following members.

Public propertyAllAll connected clients.
Public propertyCallerRepresents the calling client.
Public propertyOthersAll connected clients except the calling client.

Public methodAllExceptReturns a dynamic representation of all clients except the calling client ones specified.
Public methodClientReturns a dynamic representation of the connection with the specified connectionid.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGroupReturns a dynamic representation of the specified group.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOthersInGroupReturns a dynamic representation of all clients in a group except the calling client.
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.