This documentation is archived and is not being maintained.

ClientSponsor Methods

(see also Protected Methods )
  Name Description
Public method Close Empties the list objects registered with the current ClientSponsor.
Public method 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)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService Overridden. Initializes a new instance of ClientSponsor, providing a lease for the current object.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Register Registers the specified MarshalByRefObject for sponsorship.
Public method Renewal Requests a sponsoring client to renew the lease for the specified object.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Unregister Unregisters the specified MarshalByRefObject from the list of objects sponsored by the current ClientSponsor.

  Name Description
Protected method Finalize Overridden. Frees the resources of the current ClientSponsor before the garbage collector reclaims them.
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)