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
- message
Type: Microsoft.AspNet.SignalR.Messaging.Message
Return Value
Type: System.Threading.Tasks.Task
Returns Task.