Udostępnij za pośrednictwem


HostTypeProviderAdapter Class

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Represents the host side of the pipeline that interacts with the host type provider.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.HostAdapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.HostAdapter.v9.0.dll)

Syntax

'Declaration
Public Class HostTypeProviderAdapter _
    Inherits ContractAdapterBase _
    Implements IHostTypeProviderContract, IContract
'Usage
Dim instance As HostTypeProviderAdapter
public class HostTypeProviderAdapter : ContractAdapterBase, 
    IHostTypeProviderContract, IContract
public ref class HostTypeProviderAdapter : public ContractAdapterBase, 
    IHostTypeProviderContract, IContract
public class HostTypeProviderAdapter extends ContractAdapterBase implements IHostTypeProviderContract, IContract

Remarks

The handle to the IContract implemented by the adapter is returned across the contract boundary to the add-in side.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.AddIn.Pipeline.ContractBase
      Microsoft.VisualStudio.Tools.Applications.ContractAdapterBase
        Microsoft.VisualStudio.Tools.Applications.HostTypeProviderAdapter

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

HostTypeProviderAdapter Members

Microsoft.VisualStudio.Tools.Applications Namespace