MessageBus Class
.NET Framework 4
Inheritance Hierarchy
System.Object
Microsoft.AspNet.SignalR.Messaging.MessageBus
Microsoft.AspNet.SignalR.Messaging.ScaleoutMessageBus
Namespace: Microsoft.AspNet.SignalR.Messaging
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Class MessageBus _
Implements IMessageBus, IDisposable
'Usage
Dim instance As MessageBus
public class MessageBus : IMessageBus, IDisposable
public ref class MessageBus : IMessageBus,
IDisposable
type MessageBus =
class
interface IMessageBus
interface IDisposable
end
public class MessageBus implements IMessageBus, IDisposable
The MessageBus type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MessageBus(IDependencyResolver) | ||
MessageBus(IStringMinifier, ITraceManager, IPerformanceCounterManager, IConfigurationManager, Int32) |
Top
Properties
Name | Description | |
---|---|---|
AllocatedWorkers | ||
BusyWorkers | ||
Counters | ||
Topics |
Top
Methods
Name | Description | |
---|---|---|
CreateSubscription | ||
CreateTopic | Creates a topic for the specified key. | |
Dispose() | ||
Dispose(Boolean) | ||
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Publish | Publishes a new message to the specified event on the bus. | |
Save | ||
ScheduleEvent | ||
Subscribe | ||
ToString | (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
Publish | (Defined by MessageBusExtensions.) |
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.