SettingsUnitRepositoryRemoveAsync - метод
Permanently removes a settings unit record by its unique identifier.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
public Task RemoveAsync(
Guid id,
CancellationToken cancellationToken = default
)
Public Function RemoveAsync (
id As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ RemoveAsync(
Guid id,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract RemoveAsync :
id : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override RemoveAsync :
id : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- id Guid
- The unique identifier of the settings unit to remove.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskRepresents an asynchronous operation.
ISettingsUnitRepositoryRemoveAsync(Guid, CancellationToken)
This method does not perform a permissions check. The caller is responsible for ensuring appropriate access.