HostAdapterEventsWrapper Class

Acts as a driver and wrapper for host adapter events.

This API is not CLS-compliant. 

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

[SerializableAttribute]
[CLSCompliantAttribute(false)]
public sealed class HostAdapterEventsWrapper : IDisposable

Use HostAdapterEventsWrapper to associate events with their handlers when you obtain the host adapter as an extender object through the COM-based [Design Time Environment (DTE)] object.

You can use the events in HostAdapter or IVstaHostAdapter directly only when you obtain the host adapter for an in-process host application by implementing the IInProcessHost interface.

For more information about the different ways to access a host adapter, see Dynamically Creating and Modifying Host Items and Host Objects in an Add-in Project.

System.Object
  Microsoft.VisualStudio.Tools.Applications.DesignTime.HostAdapterEventsWrapper

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

Community Additions

Show: