Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
<SerializableAttribute> _
<CLSCompliantAttribute(False)> _
Public NotInheritable Class HostAdapterEventsWrapper _
Implements IDisposable
'Usage
Dim instance As HostAdapterEventsWrapper
[SerializableAttribute]
[CLSCompliantAttribute(false)]
public sealed class HostAdapterEventsWrapper : IDisposable
[SerializableAttribute]
[CLSCompliantAttribute(false)]
public ref class HostAdapterEventsWrapper sealed : IDisposable
public final class HostAdapterEventsWrapper implements IDisposable
Remarks
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.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Tools.Applications.DesignTime.HostAdapterEventsWrapper
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
HostAdapterEventsWrapper Members
Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace