IClientProxy.Invoke Method

.NET Framework 4.5

Invokes a method on the connection(s) represented by the IClientProxy instance.

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

Syntax

'Declaration
Function Invoke ( _
    method As String, _
    ParamArray args As Object() _
) As Task
'Usage
Dim instance As IClientProxy 
Dim method As String 
Dim args As Object()
Dim returnValue As Task 

returnValue = instance.Invoke(method, _
    args)
Task Invoke(
    string method,
    params Object[] args
)
Task^ Invoke(
    String^ method, 
    ... array<Object^>^ args
)
abstract Invoke : 
        method:string * 
        args:Object[] -> Task
function Invoke(
    method : String, 
    ... args : Object[]
) : Task

Parameters

Return Value

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

See Also

Reference

IClientProxy Interface

Microsoft.AspNet.SignalR.Hubs Namespace