IDiscoveryKeyStrategyTryGetKeyAsync - метод
Возвращает ключ discovery по его идентификатору.
Пространство имён: Tessa.DiscoveryСборка: Tessa (в Tessa.dll) Версия: 4.0.4
ValueTask<DiscoveryPublishedKey> TryGetKeyAsync(
byte[] keyID,
CancellationToken cancellationToken = default
)
Function TryGetKeyAsync (
keyID As Byte(),
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of DiscoveryPublishedKey)
ValueTask<DiscoveryPublishedKey^> TryGetKeyAsync(
array<unsigned char>^ keyID,
CancellationToken cancellationToken = CancellationToken()
)
abstract TryGetKeyAsync :
keyID : byte[] *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<DiscoveryPublishedKey>
- keyID Byte
- Идентификатор ключа discovery.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
ValueTaskDiscoveryPublishedKeyКлюч discovery или
null, если ключ не найден.