Initializes an instance of this class.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Protected Sub New ( _
provider As IServiceProvider _
)
'使用
Dim provider As IServiceProvider
Dim instance As New ToolWindowPane(provider)
protected ToolWindowPane(
IServiceProvider provider
)
protected:
ToolWindowPane(
IServiceProvider^ provider
)
protected function ToolWindowPane(
provider : IServiceProvider
)
Parameters
provider
Type: System.IServiceProviderThe single constructor argument is a service provider the created window can use to obtain services. This parameter must not be a null reference (Nothing in Visual Basic), or else the tool window will not be able to add itself to the shell.
Permissions
- 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.