ISettingsUnitPluginAfterRemoveAsync - метод

A lifecycle hook invoked after the settings unit has been successfully removed.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
C#
ValueTask AfterRemoveAsync(
	SettingsUnitPluginContext context,
	CancellationToken cancellationToken = default
)

Параметры

context  SettingsUnitPluginContext
Context of the settings unit record.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

ValueTask
Provides an awaitable result of an asynchronous operation.

Заметки

Suitable for performing final cleanup operations or side effects that must occur only that must occur only after the removal operation has been successfully completed.

См. также