Class LeaseInfo
public sealed class LeaseInfo
- Inheritance
-
LeaseInfo
- Inherited Members
Properties
Duration
Gets the client-specified time for eviction (e.g. how long to wait without renewal).
public TimeSpan? Duration { get; }
Property Value
EvictionTimeUtc
Gets the de-registration time, in UTC, which is the time when the lease was removed.
public DateTime? EvictionTimeUtc { get; }
Property Value
LastRenewalTimeUtc
Gets the time, in UTC, when the lease was last renewed.
public DateTime? LastRenewalTimeUtc { get; }
Property Value
RegistrationTimeUtc
Gets the registration time, in UTC, which is the time when the lease was first registered.
public DateTime? RegistrationTimeUtc { get; }
Property Value
RenewalInterval
Gets the client-specified time how often the client sends a heartbeat to renew the lease.
public TimeSpan? RenewalInterval { get; }
Property Value
ServiceUpTimeUtc
Gets the time, in UTC, when the leased service was marked as UP.
public DateTime? ServiceUpTimeUtc { get; }
Property Value
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.