HubConnectionContext Class

.NET Framework 4.5

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

System::Object
  Microsoft.AspNet.SignalR.Hubs::HubConnectionContextBase
    Microsoft.AspNet.SignalR.Hubs::HubConnectionContext

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

public ref class HubConnectionContext : public HubConnectionContextBase, 
	IHubCallerConnectionContext, IHubConnectionContext

The HubConnectionContext type exposes the following members.

  NameDescription
Public methodHubConnectionContext()Initializes a new instance of the HubConnectionContext class.
Public methodHubConnectionContext(IHubPipelineInvoker, IConnection, String, String, StateChangeTracker)Initializes a new instance of the HubConnectionContext class.
Top

  NameDescription
Public propertyAll (Inherited from HubConnectionContextBase.)
Public propertyCallerGets or sets the calling client.
Protected propertyConnection (Inherited from HubConnectionContextBase.)
Protected propertyHubName (Inherited from HubConnectionContextBase.)
Protected propertyInvoker (Inherited from HubConnectionContextBase.)
Public propertyOthersGets or sets all the connected clients except the calling client.
Top

  NameDescription
Public methodAllExceptReturns a dynamic representation of all clients except the calling client ones specified. (Inherited from HubConnectionContextBase.)
Public methodClientReturns a dynamic representation of the connection with the specified connectionid. (Inherited from HubConnectionContextBase.)
Public methodClientsReturns a dynamic representation of the connections with the specified connectionids. (Inherited from HubConnectionContextBase.)
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. (Inherited from HubConnectionContextBase.)
Public methodGroupsReturns a dynamic representation of the specified groups. (Inherited from HubConnectionContextBase.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOthersInGroupReturns a dynamic representation of all clients in a group except the calling client.
Public methodOthersInGroupsReturns a dynamic representation of all clients in the specified groups except the calling client.
Public methodToString (Inherited from Object.)
Public methodUser (Inherited from HubConnectionContextBase.)
Top

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