ToolWindowPane Constructor (IServiceProvider)
Initializes an instance of this class.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Protected Sub New ( _
provider As IServiceProvider _
)
protected ToolWindowPane(
IServiceProvider provider
)
protected:
ToolWindowPane(
IServiceProvider^ provider
)
new :
provider:IServiceProvider -> ToolWindowPane
protected function ToolWindowPane(
provider : IServiceProvider
)
Parameters
- provider
Type: System.IServiceProvider
The single constructor argument is a service provider that the created window can use to obtain services. This parameter must not be nulla null reference (Nothing in Visual Basic) because the tool window cannot add itself to the shell.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.