Share via


Connection.Send Method (Object)

.NET Framework 4

Sends an object that will be JSON serialized 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 ( _
    value As Object _
) As Task
'Usage
Dim instance As Connection 
Dim value As Object 
Dim returnValue As Task 

returnValue = instance.Send(value)
public Task Send(
    Object value
)
public:
Task^ Send(
    Object^ value
)
member Send : 
        value:Object -> Task
public function Send(
    value : Object
) : Task

Parameters

Return Value

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

See Also

Reference

Connection Class

Send Overload

Microsoft.AspNet.SignalR.Client Namespace