Partager via


IConnection.Send Method

.NET Framework 4

Sends a message to connections subscribed to the signal.

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

Syntax

'Declaration
Function Send ( _
    message As ConnectionMessage _
) As Task
'Usage
Dim instance As IConnection 
Dim message As ConnectionMessage 
Dim returnValue As Task 

returnValue = instance.Send(message)
Task Send(
    ConnectionMessage message
)
Task^ Send(
    ConnectionMessage message
)
abstract Send : 
        message:ConnectionMessage -> Task
function Send(
    message : ConnectionMessage
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task
A task that returns when the message has be sent.

See Also

Reference

IConnection Interface

Microsoft.AspNet.SignalR Namespace