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)


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

returnValue = instance.Invoke(method, _
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


  • args
    Type: array<System.Object[]
    argumetns to pass to the client

Return Value

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

See Also


IClientProxy Interface

Microsoft.AspNet.SignalR.Hubs Namespace