ILease Members
.NET Framework 3.5
Defines a lifetime lease object that is used by the remoting lifetime service.
The ILease type exposes the following members.
| Name | Description | |
|---|---|---|
|
Register | Overloaded. Registers a sponsor for the lease. |
|
Renew | Renews a lease for the specified time. |
|
Unregister | Removes a sponsor from the sponsor list. |
| Name | Description | |
|---|---|---|
|
CurrentLeaseTime | Gets the amount of time remaining on the lease. |
|
CurrentState | Gets the current LeaseState of the lease. |
|
InitialLeaseTime | Gets or sets the initial time for the lease. |
|
RenewOnCallTime | Gets or sets the amount of time by which a call to the remote object renews the CurrentLeaseTime. |
|
SponsorshipTimeout | Gets or sets the amount of time to wait for a sponsor to return with a lease renewal time. |