SettingsUnitPluginBaseAfterRemoveAsync - метод

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

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
C#
public virtual ValueTask AfterRemoveAsync(
	SettingsUnitRecord record,
	CancellationToken cancellationToken = default
)

Параметры

record  SettingsUnitRecord
The removed settings unit record.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

ValueTask
Provides an awaitable result of an asynchronous operation.

Реализации

ISettingsUnitPluginAfterRemoveAsync(SettingsUnitRecord, CancellationToken)

Заметки

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.

См. также