public Invoke ( string method ) : System.Threading.Tasks.Task | ||
method | string | |
return | System.Threading.Tasks.Task |
public Task Invoke(string method, params object[] args)
{
var invocation = new ClientHubInvocation
{
Hub = _hubName,
Method = method,
Args = args
};
var context = new HubOutgoingInvokerContext(_connection, _signal, invocation)
{
ExcludedSignals = _exclude
};
return _invoker.Send(context);
}
}