RedisHubLifetimeManager<THub> 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
RedisHubLifetimeManager(Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::SignalR::Redis::RedisHubLifetimeManager<THub> ^> ^ logger, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::SignalR::Redis::RedisOptions ^> ^ options, Microsoft::AspNetCore::SignalR::IHubProtocolResolver ^ hubProtocolResolver);
public RedisHubLifetimeManager(Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.SignalR.Redis.RedisHubLifetimeManager<THub>> logger, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.Redis.RedisOptions> options, Microsoft.AspNetCore.SignalR.IHubProtocolResolver hubProtocolResolver);
new Microsoft.AspNetCore.SignalR.Redis.RedisHubLifetimeManager<'Hub (requires 'Hub :> Microsoft.AspNetCore.SignalR.Hub)> : Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.SignalR.Redis.RedisHubLifetimeManager<'Hub>> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.Redis.RedisOptions> * Microsoft.AspNetCore.SignalR.IHubProtocolResolver -> Microsoft.AspNetCore.SignalR.Redis.RedisHubLifetimeManager<'Hub (requires 'Hub :> Microsoft.AspNetCore.SignalR.Hub)>
Public Sub New (logger As ILogger(Of RedisHubLifetimeManager(Of THub)), options As IOptions(Of RedisOptions), hubProtocolResolver As IHubProtocolResolver)
参数
- logger
- ILogger<RedisHubLifetimeManager<THub>>
- options
- IOptions<RedisOptions>
- hubProtocolResolver
- IHubProtocolResolver