MessageBus Class

.NET Framework 4.5

Represents the message bus for SignalR.

Namespace:  Microsoft.AspNet.SignalR.Messaging
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

public ref class MessageBus : IMessageBus, 
	IDisposable

The MessageBus type exposes the following members.

  NameDescription
Public methodMessageBus(IDependencyResolver)Initializes a new instance of the MessageBus class.
Public methodMessageBus(IStringMinifier, ITraceManager, IPerformanceCounterManager, IConfigurationManager, Int32)Initializes a new instance of the MessageBus class.
Top

  NameDescription
Protected propertyCountersGets or sets the performance counter manager associated with SignalR.
Protected propertyTopicsGets or sets the event topics for the subscription.
Protected propertyTraceGets the trace source used to trace execution of code.
Top

  NameDescription
Protected methodCreateSubscriptionCreates a new subscription for the subscriber.
Protected methodCreateTopicCreates a new topic.
Public methodDispose()Releases the resources used by the current instance of the MessageBus class.
Protected methodDispose(Boolean)Releases the resources used by the current instance of the MessageBus class.
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 methodPublishPublishes a message on the message bus.
Protected methodSaveSaves the specified message to the topic message store.
Protected methodScheduleEventSchedules work on the topic subscriptions with the specified event key.
Public methodSubscribeEstablishes a topic subscription for the subscriber on the message bus.
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public Extension MethodPublishPublishes a messages. (Defined by MessageBusExtensions.)
Top

No content here will be updated; please do not add material here.

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: