RedisDiscoveryStrategyNotifyAsync - метод
Уведомляет Redis о состоянии компонента.
Пространство имён: Tessa.DiscoveryСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task NotifyAsync(
IRedisConnectionProvider connectionProvider,
DiscoveryComponentInfo discoveryComponentInfo,
CancellationToken cancellationToken = default
)
Public Function NotifyAsync (
connectionProvider As IRedisConnectionProvider,
discoveryComponentInfo As DiscoveryComponentInfo,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ NotifyAsync(
IRedisConnectionProvider^ connectionProvider,
DiscoveryComponentInfo^ discoveryComponentInfo,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract NotifyAsync :
connectionProvider : IRedisConnectionProvider *
discoveryComponentInfo : DiscoveryComponentInfo *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override NotifyAsync :
connectionProvider : IRedisConnectionProvider *
discoveryComponentInfo : DiscoveryComponentInfo *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- connectionProvider IRedisConnectionProvider
Объект, предоставляющий доступ к соединению Redis.
- discoveryComponentInfo DiscoveryComponentInfo
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskАсинхронная задача.
IRedisDiscoveryStrategyNotifyAsync(IRedisConnectionProvider, DiscoveryComponentInfo, CancellationToken)