RedisConnectionProviderGetOpenedConnectionAsync - метод
Возвращает открытое соединение к Redis.
Пространство имён: Tessa.Platform.IPCСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public ValueTask<IConnectionMultiplexer> GetOpenedConnectionAsync(
CancellationToken cancellationToken = default
)
Public Function GetOpenedConnectionAsync (
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of IConnectionMultiplexer)
public:
virtual ValueTask<IConnectionMultiplexer^> GetOpenedConnectionAsync(
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetOpenedConnectionAsync :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IConnectionMultiplexer>
override GetOpenedConnectionAsync :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IConnectionMultiplexer>
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskIConnectionMultiplexerСоединение к Redis.
IRedisConnectionProviderGetOpenedConnectionAsync(CancellationToken)