DiscoveryKeyStrategyAddKeyAsync - метод
Добавляет сериализованный ключ discovery.
Пространство имён: Tessa.DiscoveryСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task AddKeyAsync(
string serializedKey,
CancellationToken cancellationToken = default
)
Public Function AddKeyAsync (
serializedKey As String,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ AddKeyAsync(
String^ serializedKey,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract AddKeyAsync :
serializedKey : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override AddKeyAsync :
serializedKey : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- serializedKey String
- Сериализованный ключ discovery.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskRepresents an asynchronous operation.
IDiscoveryKeyStrategyAddKeyAsync(String, CancellationToken)