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