Represents the base interface for all contracts that are used for communication between components that are updated independently.
Assembly: System.AddIn.Contract (in System.AddIn.Contract.dll)
Thetype exposes the following members.
|AcquireLifetimeToken||Specifies that the contract is accessible to a client until the client revokes the contract.|
|GetRemoteHashCode||Returns a hash code for the .|
|QueryContract||Returns a contract that is implemented by this contract.|
|RemoteEquals||Indicates whether the specified contract is equal to this .|
|RemoteToString||Returns a string representation of the current .|
|RevokeLifetimeToken||Specifies that the contract is no longer accessible to a client.|
The interface defines a contract that independently updated components, such as an application and an add-in, can use to communicate. Components can use to communicate across process or application domain boundaries, or to communicate with other components in the same process or application domain. serves a similar purpose for components created using the .NET Framework as the IUnknown interface serves for components created using COM. To determine whether an object implements a particular contract, use the QueryContract method.
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)