Share via


Connection.Send Method (String)

.NET Framework 4

Sends data asynchronously over the connection.

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

Syntax

'Declaration
Public Function Send ( _
    data As String _
) As Task
'Usage
Dim instance As Connection 
Dim data As String 
Dim returnValue As Task 

returnValue = instance.Send(data)
public Task Send(
    string data
)
public:
virtual Task^ Send(
    String^ data
) sealed
abstract Send : 
        data:string -> Task  
override Send : 
        data:string -> Task
public final function Send(
    data : String
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task
A task that represents when the data has been sent.

Implements

IConnection.Send(String)

See Also

Reference

Connection Class

Send Overload

Microsoft.AspNet.SignalR.Client Namespace