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)

Task^ Invoke(
	String^ method, 
	... array<Object^>^ args
)

Parameters

method
Type: System::String
name of the method to invoke
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.
Show: