Share via


IMessageBus.Publish Method

.NET Framework 4

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

Syntax

'Declaration
Function Publish ( _
    message As Message _
) As Task
'Usage
Dim instance As IMessageBus 
Dim message As Message 
Dim returnValue As Task 

returnValue = instance.Publish(message)
Task Publish(
    Message message
)
Task^ Publish(
    Message^ message
)
abstract Publish : 
        message:Message -> Task
function Publish(
    message : Message
) : Task

Parameters

Return Value

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

See Also

Reference

IMessageBus Interface

Microsoft.AspNet.SignalR.Messaging Namespace