ContractBase Methods

The ContractBase type exposes the following members.

  Name Description
Public method AcquireLifetimeToken Obtains a lifetime token.
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 Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
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 GetRemoteHashCode Gets the hash code for the current ContractBase object.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
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.)
Protected method OnFinalRevoke When overridden in an add-in-side adapter, releases native resources held by the adapter.
Public method QueryContract Reflects over the instance of a contract and returns the this pointer if the current object implements that contract.
Public method RemoteEquals Compares an object with a remote object for equality.
Public method RemoteToString Gets a string that identifies a remote object.
Public method Renewal Infrastructure. Requests a sponsoring client to renew the lease for the specified object.
Public method RevokeLifetimeToken Removes the specified token from the list of outstanding lifetime tokens.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft