ISettingsUnitRepositoryAddRecordAsync - метод

Creates a new settings unit record.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
Task AddRecordAsync(
	SettingsUnitRecord record,
	CancellationToken cancellationToken = default
)

Параметры

record  SettingsUnitRecord
Object that describes the settings unit record.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

Task
Represents an asynchronous operation.

Заметки

This method does not perform a permissions check. The caller is responsible for ensuring appropriate access.

Исключения

SettingsUnitAlreadyExistsExceptionThrown if a record with the same identifier already exists.

См. также