ContractBase Class
Provides a default implementation of IContract members.
Assembly: System.AddIn (in System.AddIn.dll)
| Name | Description | |
|---|---|---|
![]() | ContractBase() | Initializes a new instance of the ContractBase class. |
| Name | Description | |
|---|---|---|
![]() | AcquireLifetimeToken() | Obtains a lifetime token. |
![]() | CreateObjRef(Type) | 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(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | GetRemoteHashCode() | Gets the hash code for the current ContractBase object. |
![]() | GetType() | |
![]() | InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | MemberwiseClone() | |
![]() | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.) |
![]() | OnFinalRevoke() | When overridden in an add-in-side adapter, releases native resources held by the adapter. |
![]() | QueryContract(String) | Reflects over the instance of a contract and returns the this pointer if the current object implements that contract. |
![]() | RemoteEquals(IContract) | Compares an object with a remote object for equality. |
![]() | RemoteToString() | Gets a string that identifies a remote object. |
![]() | Renewal(ILease) | This API supports the product infrastructure and is not intended to be used directly from your code. Requests a sponsoring client to renew the lease for the specified object. |
![]() | RevokeLifetimeToken(Int32) | Removes the specified token from the list of outstanding lifetime tokens. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

