次の方法で共有


VsServiceProviderWrapper Class

Wraps a service provider instance. The class can be used to expose a SVsServiceProvider value to a Managed Extensibility Framework composition container.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣言
Public NotInheritable Class VsServiceProviderWrapper _
    Implements SVsServiceProvider, IServiceProvider
'使用
Dim instance As VsServiceProviderWrapper
public sealed class VsServiceProviderWrapper : SVsServiceProvider, 
    IServiceProvider
public ref class VsServiceProviderWrapper sealed : SVsServiceProvider, 
    IServiceProvider
[<SealedAttribute>]
type VsServiceProviderWrapper =  
    class
        interface SVsServiceProvider
        interface IServiceProvider
    end
public final class VsServiceProviderWrapper implements SVsServiceProvider, IServiceProvider

Remarks

For more information about the Managed Extensibility Framework, see [ManagedExtensibilityFrameworkOverview]Managed Extensibility Framework Overview.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.VsServiceProviderWrapper

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

VsServiceProviderWrapper Members

Microsoft.VisualStudio.Shell Namespace