VsServiceProviderWrapper Constructor
Constructs an instance of the class.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Sub New ( _
serviceProvider As IServiceProvider _
)
public VsServiceProviderWrapper(
IServiceProvider serviceProvider
)
public:
VsServiceProviderWrapper(
IServiceProvider^ serviceProvider
)
new :
serviceProvider:IServiceProvider -> VsServiceProviderWrapper
public function VsServiceProviderWrapper(
serviceProvider : IServiceProvider
)
Parameters
- serviceProvider
Type: System.IServiceProvider
The instance of the service provider to wrap
.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.