public CreateHubProxy ( string hubName ) : IHubProxy | ||
hubName | string | Name of the hub. |
return | IHubProxy |
public IHubProxy CreateHubProxy(string hubName)
{
if (string.IsNullOrEmpty(hubName))
{
throw new ArgumentNullException("hubName");
}
return _hubConnection.CreateHubProxy(hubName);
}