Partager via


ToolWindowProvider Constructor

Definition

Initializes a new instance of the ToolWindowProvider class.

public ToolWindowProvider (Microsoft.VisualStudio.Extensibility.ExtensionCore container, Microsoft.VisualStudio.Extensibility.VisualStudioExtensibility extensibilityObject, IServiceProvider serviceProvider, System.Diagnostics.TraceSource traceSource);
new Microsoft.VisualStudio.Extensibility.ToolWindows.Implementation.ToolWindowProvider : Microsoft.VisualStudio.Extensibility.ExtensionCore * Microsoft.VisualStudio.Extensibility.VisualStudioExtensibility * IServiceProvider * System.Diagnostics.TraceSource -> Microsoft.VisualStudio.Extensibility.ToolWindows.Implementation.ToolWindowProvider
Public Sub New (container As ExtensionCore, extensibilityObject As VisualStudioExtensibility, serviceProvider As IServiceProvider, traceSource As TraceSource)

Parameters

container
ExtensionCore

Extension instance that can be used for sharing state across parts.

extensibilityObject
VisualStudioExtensibility

Extensibility instance to be used by the service implementation.

serviceProvider
IServiceProvider

Extension host service provider.

traceSource
TraceSource

Logger instance that can be used to trace extension actions.

Applies to