ContainerBase Constructor
Initializes a new instance of the ContainerBase class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
serviceProvider As IServiceProvider _
)
public ContainerBase(
IServiceProvider serviceProvider
)
public:
ContainerBase(
IServiceProvider^ serviceProvider
)
new :
serviceProvider:IServiceProvider -> ContainerBase
public function ContainerBase(
serviceProvider : IServiceProvider
)
Parameters
serviceProvider
Type: IServiceProviderThe service provider that retrieves Visual Studio services.
.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.