Hub Class
.NET Framework 4
Provides methods that communicate with SignalR connections that connected to a Hub.
Inheritance Hierarchy
System.Object
Microsoft.AspNet.SignalR.Hub
Namespace: Microsoft.AspNet.SignalR
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public MustInherit Class Hub _
Implements IHub, IDisposable
'Usage
Dim instance As Hub
public abstract class Hub : IHub,
IDisposable
public ref class Hub abstract : IHub,
IDisposable
[<AbstractClassAttribute>]
type Hub =
class
interface IHub
interface IDisposable
end
public abstract class Hub implements IHub, IDisposable
The Hub type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Hub |
Top
Properties
Name | Description | |
---|---|---|
Clients | ||
Context | Provides information about the calling client. | |
Groups | The group manager for this hub instance. |
Top
Methods
Name | Description | |
---|---|---|
Dispose() | ||
Dispose(Boolean) | ||
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnConnected | Called when the connection connects to this hub instance. | |
OnDisconnected | Called when a connection disconnects from this hub instance. | |
OnReconnected | Called when the connection reconnects to this hub instance. | |
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.