共用方式為


ServiceProvider Constructor

Include Protected Members
Include Inherited Members

Initializes an instance of ServiceProvider.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method ServiceProvider(IServiceProvider) Initializes a instance with an existing IServiceProvider interface.
Public method ServiceProvider(IServiceProvider, Boolean) Initializes a new instance of the ServiceProvider class with an existing IServiceProvider object and optionally passes all requests to the underlying service provider.

Top

See Also

Reference

ServiceProvider Class

Microsoft.VisualStudio.Shell Namespace