You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exception thrown when call the method "IConnectionManager.GetHubContext<THubType, TClients>().Clients.All",
code as below:
var clients =DependencyResolver.Resolve<IConnectionManager>().GetHubContext<MonitorHub, IMonitorClient>().Clients.All;
Exception Messages:
RuntimeBinderException: Cannot implicitly convert type 'Microsoft.AspNet.SignalR.Hubs.TypedClientBuilder.IScanClientImpl' to 'Mobile.Contract.Bolus.IMonitorClient'. An explicit conversion exists (are you missing a cast?)
Type : Microsoft.CSharp.RuntimeBinder.RuntimeBinderException, Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Message : Cannot implicitly convert type 'Microsoft.AspNet.SignalR.Hubs.TypedClientBuilder.IScanClientImpl' to 'Mobile.Contract.Bolus.IMonitorClient'. An explicit conversion exists (are you missing a cast?)
Source : Anonymously Hosted DynamicMethods Assembly
Steps to reproduce
this issue is sporadic, hard to reproduce
The text was updated successfully, but these errors were encountered:
signalR version: 2.2.2
exception thrown when call the method "IConnectionManager.GetHubContext<THubType, TClients>().Clients.All",
code as below:
Exception Messages:
RuntimeBinderException: Cannot implicitly convert type 'Microsoft.AspNet.SignalR.Hubs.TypedClientBuilder.IScanClientImpl' to 'Mobile.Contract.Bolus.IMonitorClient'. An explicit conversion exists (are you missing a cast?)
Type : Microsoft.CSharp.RuntimeBinder.RuntimeBinderException, Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Message : Cannot implicitly convert type 'Microsoft.AspNet.SignalR.Hubs.TypedClientBuilder.IScanClientImpl' to 'Mobile.Contract.Bolus.IMonitorClient'. An explicit conversion exists (are you missing a cast?)
Source : Anonymously Hosted DynamicMethods Assembly
Steps to reproduce
this issue is sporadic, hard to reproduce
The text was updated successfully, but these errors were encountered: