ISettingsUnitRepositoryGetRecordDataAsync - метод

Retrieves the data content of a settings unit record by its unique identifier.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.2+a8f0dd3c063817b2e3f05a923303d808e447c338
C#
Task<Dictionary<string, Object?>?> GetRecordDataAsync(
	Guid id,
	bool checkPermissions = false,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
The unique identifier of the settings unit 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.

Возвращаемое значение

TaskDictionaryString, Object
The settings unit data model that stores configuration values of the specified record if exists; otherwise, .

Исключения

SettingsUnitNotFoundExceptionThrown if no record with the specified identifier exists.

См. также