RedisOptions.ConnectionFactory 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 Redis 连接工厂。
public:
property Func<System::IO::TextWriter ^, System::Threading::Tasks::Task<StackExchange::Redis::IConnectionMultiplexer ^> ^> ^ ConnectionFactory { Func<System::IO::TextWriter ^, System::Threading::Tasks::Task<StackExchange::Redis::IConnectionMultiplexer ^> ^> ^ get(); void set(Func<System::IO::TextWriter ^, System::Threading::Tasks::Task<StackExchange::Redis::IConnectionMultiplexer ^> ^> ^ value); };
public Func<System.IO.TextWriter,System.Threading.Tasks.Task<StackExchange.Redis.IConnectionMultiplexer>> ConnectionFactory { get; set; }
member this.ConnectionFactory : Func<System.IO.TextWriter, System.Threading.Tasks.Task<StackExchange.Redis.IConnectionMultiplexer>> with get, set
Public Property ConnectionFactory As Func(Of TextWriter, Task(Of IConnectionMultiplexer))