共用方式為


ILeaseManager Interface

Definition

The ILeaseManager defines a way to perform operations with ILease.

public interface ILeaseManager
type ILeaseManager = interface
Public Interface ILeaseManager
Derived

Methods

AcquireAsync(ILease)

Acquire ownership of the lease.

CreateLeaseIfNotExistAsync(String, String)

Checks whether the lease exists and creates it if it does not exist.

DeleteAsync(ILease)

Delete the lease.

ReleaseAsync(ILease)

Release ownership of the lease.

RenewAsync(ILease)

Renew the lease. Leases are periodically renewed to prevent expiration.

UpdatePropertiesAsync(ILease)

Replace properties from the specified lease.

Applies to