System.Runtime.Remoting.Lifetime.ILease Members

The members of System.Runtime.Remoting.Lifetime.ILease are listed below.

Public Properties

[read-only]
CurrentLeaseTimeTimeSpan.

Gets the amount of time remaining on the lease.

[read-only]
CurrentStateLeaseState.

Gets the current System.Runtime.Remoting.Lifetime.LeaseState of the lease.

InitialLeaseTimeTimeSpan.

Gets or sets the initial time for the lease.

RenewOnCallTimeTimeSpan.

Gets or sets the amount of time by which a call to the remote object renews the ILease.CurrentLeaseTime.

SponsorshipTimeoutTimeSpan.

Gets or sets the amount of time to wait for a sponsor to return with a lease renewal time.

Public Methods

Register(ISponsor)

Registers a sponsor for the lease without renewing the lease.

Register(ISponsor, TimeSpan)

Registers a sponsor for the lease, and renews it by the specified TimeSpan.

Renew(TimeSpan) : TimeSpan

Renews a lease for the specified time.

Unregister(ISponsor)

Removes a sponsor from the sponsor list.