Export (0) Print
Expand All

ClientSponsor Methods

The ClientSponsor type exposes the following members.

  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(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Frees the resources of the current ClientSponsor before the garbage collector reclaims them. (Overrides Object.Finalize().)
Public method GetHashCode Serves as the default hash function. (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 Initializes a new instance of ClientSponsor, providing a lease for the current object. (Overrides MarshalByRefObject.InitializeLifetimeService().)
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
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.
Top
Show:
© 2014 Microsoft