SettingsUnitRepositoryCheckExistsAsync - метод
Determines whether the settings unit record exists by its unique identifier.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
public Task<bool> CheckExistsAsync(
Guid id,
CancellationToken cancellationToken = default
)
Public Function CheckExistsAsync (
id As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Boolean)
public:
virtual Task<bool>^ CheckExistsAsync(
Guid id,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract CheckExistsAsync :
id : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
override CheckExistsAsync :
id : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
- id Guid
- The unique identifier of the settings unit record.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskBoolean if a matching record exists; otherwise,
.
ISettingsUnitRepositoryCheckExistsAsync(Guid, CancellationToken)
This method does not perform a permissions check. The caller is responsible for ensuring appropriate access.