Provides methods for sharing and readapting add-ins.
Assembly: System.AddIn (in System.AddIn.dll)
Thetype exposes the following members.
|ContractToViewAdapter<TView>(ContractHandle, PipelineStoreLocation)||Obtains a host view of an add-in if a suitable host-side adapter is found at a location specified by a value from the PipelineStoreLocation enumeration.|
|ContractToViewAdapter<TView>(ContractHandle, String)||Obtains a host view of an add-in if a suitable host-side adapter is found at a location specified by a path.|
|ViewToContractAdapter||Gets the handle to the contract for a provided host view of an add-in.|
You can use this class to share an add-in with another host that does not have the same pipeline to that add-in (particularly, another host that does not have the same host view of the add-in).
If you need to adapt an activated add-in from its host view to the contract, use the ViewToContractAdapter method.
If you have an instance of the contract and need to convert it to the host view, use the ContractToViewAdapter method.
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)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.