ISettingsUnitRepositoryGetRecordAsync - метод
Retrieves a settings unit record by its unique identifier.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.2+a8f0dd3c063817b2e3f05a923303d808e447c338
Task<SettingsUnitRecord> GetRecordAsync(
Guid id,
bool omitData = false,
bool checkPermissions = false,
CancellationToken cancellationToken = default
)
Function GetRecordAsync (
id As Guid,
Optional omitData As Boolean = false,
Optional checkPermissions As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of SettingsUnitRecord)
Task<SettingsUnitRecord^>^ GetRecordAsync(
Guid id,
bool omitData = false,
bool checkPermissions = false,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetRecordAsync :
id : Guid *
?omitData : bool *
?checkPermissions : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _omitData = defaultArg omitData false
let _checkPermissions = defaultArg checkPermissions false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<SettingsUnitRecord>
override GetRecordAsync :
id : Guid *
?omitData : bool *
?checkPermissions : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _omitData = defaultArg omitData false
let _checkPermissions = defaultArg checkPermissions false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<SettingsUnitRecord>
- id Guid
- The unique identifier of the settings unit record.
- omitData Boolean (Optional)
-
Indicates whether the Data field will be omitted from the query and the returned record.
- checkPermissions Boolean (Optional)
- Performs a permissions check for the current session only if it is not an admin session
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskSettingsUnitRecord
Object that describes the settings unit record.
The returned value is not normalized.