MessageBus::Publish Method

.NET Framework 4.5

Publishes a new message to the specified event on the bus.

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

public:
virtual Task^ Publish(
	Message^ message
)

Parameters

message
Type: Microsoft.AspNet.SignalR.Messaging::Message
The message to publish.

Return Value

Type: System.Threading.Tasks::Task
Returns Task.

Implements

IMessageBus::Publish(Message)
Show: