Hub Class
.NET Framework 4.5
Provides methods that communicate with SignalR connections that connected to a Hub.
System.Object
Microsoft.AspNet.SignalR.Hub
Namespace: Microsoft.AspNet.SignalR
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
'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.
Name | Description | |
---|---|---|
![]() |
Hub | Initializes a new instance of the Hub class. |
Top
Name | Description | |
---|---|---|
![]() |
Clients | Gets or sets the clients that communicates with SignalR connections. |
![]() |
Context | Gets or sets the information about the calling client. |
![]() |
Groups | Gets or sets the group manager for this hub instance. |
Top
Name | Description | |
---|---|---|
![]() |
Dispose() | Releases all resources used by this instance. |
![]() |
Dispose(Boolean) | Releases all resources used by this instance. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnConnected | Occurs when the connection connects to this hub instance. |
![]() |
OnDisconnected | Occurs when a connection disconnects from this hub instance. |
![]() |
OnReconnected | Occurs when the connection reconnects to this hub instance. |
![]() |
ToString | (Inherited from Object.) |
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.