ITokenRepositoryTryGetTokensAsync - метод
Returns a collection of token information based on the filter criteria.
Пространство имён: Tessa.TokensСборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
Task<IList<ITokenInfo>> TryGetTokensAsync(
TokenFilter? filter = null,
CancellationToken cancellationToken = default
)
Function TryGetTokensAsync (
Optional filter As TokenFilter? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IList(Of ITokenInfo))
Task<IList<ITokenInfo^>^>^ TryGetTokensAsync(
Nullable<TokenFilter> filter = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract TryGetTokensAsync :
?filter : Nullable<TokenFilter> *
?cancellationToken : CancellationToken
(* Defaults:
let _filter = defaultArg filter null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IList<ITokenInfo>>
- filter NullableTokenFilter (Optional)
Represents a filter used to query tokens based on various properties.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskIListITokenInfoA collection of token information.
The returned data is not sorted.
If no filter parameter has been set, the amount of returned data is limited to 1000 items.
If the query is repeated without a filter parameter, it is not guaranteed that the same items will be returned.