System.Runtime.Remoting.Lifetime.ClientSponsor Members

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

See Also: Inherited members from System.MarshalByRefObject

Public Constructors

Initializes a new instance of the System.Runtime.Remoting.Lifetime.ClientSponsor class with default values.

Initializes a new instance of the System.Runtime.Remoting.Lifetime.ClientSponsor class with the renewal time of the sponsored object.

Public Properties

RenewalTimeTimeSpan.

Gets or sets the TimeSpan by which to increase the lifetime of the sponsored objects when renewal is requested.

Public Methods

Close()

Empties the list objects registered with the current System.Runtime.Remoting.Lifetime.ClientSponsor.

Finalize()

Frees the resources of the current System.Runtime.Remoting.Lifetime.ClientSponsor before the garbage collector reclaims them.

override
InitializeLifetimeService() : object

Initializes a new instance of System.Runtime.Remoting.Lifetime.ClientSponsor, providing a lease for the current object.

Register(MarshalByRefObject) : bool

Registers the specified MarshalByRefObject for sponsorship.

Renewal(ILease) : TimeSpan

Requests a sponsoring client to renew the lease for the specified object.

Unregister(MarshalByRefObject)

Unregisters the specified MarshalByRefObject from the list of objects sponsored by the current System.Runtime.Remoting.Lifetime.ClientSponsor.