SettingsUnitRepositoryRemoveAsync - метод

Permanently removes a settings unit record by its unique identifier.

Definition

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

Параметры

id  Guid
The unique identifier of the settings unit to remove.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

Task
Represents an asynchronous operation.

Реализации

ISettingsUnitRepositoryRemoveAsync(Guid, CancellationToken)

Заметки

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

Исключения

SettingsUnitNotFoundExceptionThrown if no record with the specified identifier exists.

См. также