Condividi tramite


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

'Dichiarazione
Public NotInheritable Class VsServiceProviderWrapper _
    Implements SVsServiceProvider, IServiceProvider
'Utilizzo
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