Defines a lifetime lease object that is used by the remoting lifetime service.
LeaseState
Indicates the possible lease states of a lifetime lease.
void Register(ISponsor obj, TimeSpan renewalTime)
Registers a sponsor for the lease, and renews it by the specified T:System.TimeSpan.
TimeSpan InitialLeaseTime
Gets or sets the initial time for the lease.
void Unregister(ISponsor obj)
Removes a sponsor from the sponsor list.
TimeSpan CurrentLeaseTime
Gets the amount of time remaining on the lease.
TimeSpan RenewOnCallTime
Gets or sets the amount of time by which a call to the remote object renews the P:System....
TimeSpan SponsorshipTimeout
Gets or sets the amount of time to wait for a sponsor to return with a lease renewal time.
Represents a time interval.To browse the .NET Framework source code for this type,...
TimeSpan Renew(TimeSpan renewalTime)
Renews a lease for the specified time.
LeaseState CurrentState
Gets the current T:System.Runtime.Remoting.Lifetime.LeaseState of the lease.