HubConnectionContext Class
.NET Framework 4
Encapsulates all information about an individual SignalR connection for an IHub .
Inheritance Hierarchy
System.Object
Microsoft.AspNet.SignalR.Hubs.HubConnectionContext
Namespace: Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Class HubConnectionContext _
Implements IHubConnectionContext
'Usage
Dim instance As HubConnectionContext
public class HubConnectionContext : IHubConnectionContext
public ref class HubConnectionContext : IHubConnectionContext
type HubConnectionContext =
class
interface IHubConnectionContext
end
public class HubConnectionContext implements IHubConnectionContext
The HubConnectionContext type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HubConnectionContext() | ||
HubConnectionContext(IHubPipelineInvoker, IConnection, String, String, StateChangeTracker) |
Top
Properties
Name | Description | |
---|---|---|
All | All connected clients. | |
Caller | Represents the calling client. | |
Others | All connected clients except the calling client. |
Top
Methods
Name | Description | |
---|---|---|
AllExcept | Returns a dynamic representation of all clients except the calling client ones specified. | |
Client | Returns a dynamic representation of the connection with the specified connection ID. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Group | Returns a dynamic representation of the specified group. | |
MemberwiseClone | (Inherited from Object.) | |
OthersInGroup | Returns a dynamic representation of all clients in a group except the calling client. | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.