Export (0) Print
Expand All

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)

public abstract class Hub : IHub, 
	IDisposable

The Hub type exposes the following members.

  NameDescription
Protected methodHub
Top

  NameDescription
Public propertyClients
Public propertyContextProvides information about the calling client.
Public propertyGroupsThe group manager for this hub instance.
Top

  NameDescription
Public methodDispose()
Protected methodDispose(Boolean)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnConnectedCalled when the connection connects to this hub instance.
Public methodOnDisconnectedCalled when a connection disconnects from this hub instance.
Public methodOnReconnectedCalled when the connection reconnects to this hub instance.
Public methodToString (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.
Show:
© 2014 Microsoft