Extends the basic ILease to provide additional functionality.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public interface ILeaseContext<T> : ILease, IDisposable
Public Interface ILeaseContext(Of T) _ Implements ILease, IDisposable
generic<typename T> public interface class ILeaseContext : ILease, IDisposable
Generic Template Parameters
- T
- The type of object related to the lease.
Members
All Members | Methods | Properties | |||
Icon | Member | Description |
---|---|---|
Cancel()()() |
Used by the lease holder to indicate that it is no longer interested in the resource
or information held by the lease.
(Inherited from ILease.) | |
Dispose()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.) | |
Expiration |
Returns the absolute time that the lease will expire, represented as milliseconds from
the beginning of the epoch, relative to the local clock.
(Inherited from ILease.) | |
LeaseDisabled | Obsolete.
Returns true if lease functionality is disabled for this instance.
| |
Object |
Gets the previous value of the entry (null on first write).
| |
Renew(Int64) |
Used to renew a lease for an additional period of time.
(Inherited from ILease.) | |
Uid |
Gets the unique identifier of the written entry
| |
Version |
Gets the version of the entry (1 if entry was written, greater value if it was updated).
|