This documentation is archived and is not being maintained.
Provides a default implementation for a lifetime sponsor class.
The ClientSponsor type exposes the following members.
|Close||Empties the list objects registered with the current ClientSponsor.|
|CreateObjRef||Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)|
|Equals||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Frees the resources of the current ClientSponsor before the garbage collector reclaims them. (Overrides Object.Finalize().)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetLifetimeService||Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|GetType||Gets the type of the current instance. (Inherited from Object.)|
|InitializeLifetimeService||Initializes a new instance of ClientSponsor, providing a lease for the current object. (Overrides MarshalByRefObject.InitializeLifetimeService().)|
|Register||Registers the specified MarshalByRefObject for sponsorship.|
|Renewal||Requests a sponsoring client to renew the lease for the specified object.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|Unregister||Unregisters the specified MarshalByRefObject from the list of objects sponsored by the current ClientSponsor.|