DiscoveryKeyStrategyNotifyKeyFileAddedAsync - метод
Уведомляет обработчик о новом файле с ключом discovery.
Пространство имён: Tessa.DiscoveryСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ValueTask NotifyKeyFileAddedAsync(
string filePath,
string fileContent,
CancellationToken cancellationToken = default
)
Public Function NotifyKeyFileAddedAsync (
filePath As String,
fileContent As String,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
virtual ValueTask NotifyKeyFileAddedAsync(
String^ filePath,
String^ fileContent,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract NotifyKeyFileAddedAsync :
filePath : string *
fileContent : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
override NotifyKeyFileAddedAsync :
filePath : string *
fileContent : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- filePath String
- Путь до файла с ключом.
- fileContent String
- Контент файла с ключом.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
ValueTaskProvides an awaitable result of an asynchronous operation.
IDiscoveryKeyFileListenerNotifyKeyFileAddedAsync(String, String, CancellationToken)