IHubProxy.Invoke Method (String, Object[])

.NET Framework 4

Executes a method on the server side hub asynchronously.

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

Syntax

'Declaration
Function Invoke ( _
    method As String, _
    ParamArray args As Object() _
) As Task
'Usage
Dim instance As IHubProxy 
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 invocation returned.

See Also

Reference

IHubProxy Interface

Invoke Overload

Microsoft.AspNet.SignalR.Client.Hubs Namespace