ISettingsUnitRepositoryTryGetRecordDataAsync - метод
Attempts to retrieve the data content of a settings unit record by its unique identifier.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
Task<Dictionary<string, Object?>?> TryGetRecordDataAsync(
Guid id,
CancellationToken cancellationToken = default
)
Function TryGetRecordDataAsync (
id As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Dictionary(Of String, Object))
Task<Dictionary<String^, Object^>^>^ TryGetRecordDataAsync(
Guid id,
CancellationToken cancellationToken = CancellationToken()
)
abstract TryGetRecordDataAsync :
id : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<Dictionary<string, Object>>
- id Guid
- The unique identifier of the settings unit record.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskDictionaryString,
ObjectThe settings unit data model that stores configuration values of the specified record if found; otherwise,
.
This method performs a permissions check for the current session only if it is not an admin session.
Unlike
TryGetRecordAsync(Guid, Boolean, CancellationToken), this method retrieves only the data portion of the record
and may be more efficient when only the data content is needed without other record metadata.