AsyncServiceProvider Constructor (IAsyncServiceProvider^, Boolean)
Visual Studio 2015
Creates a new AsyncServiceProvider object and uses the given interface to resolve services. If defaultServices is true (the default used by the ctor that doesn't take a 'defaultServices' parameter) this service provider will respond to IObjectWithSite as a service. A query for IObjectWithSite will return this object. If false is passed in for defaultServices, this service will not be provided and the service provider will be "transparent".
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: AsyncServiceProvider( IAsyncServiceProvider^ serviceProvider, bool defaultServices )
Parameters
- serviceProvider
-
Type:
Microsoft.VisualStudio.Shell.Interop::IAsyncServiceProvider^
The underlying service provider to use to answer requests.
- defaultServices
-
Type:
System::Boolean
Indicates if this object will respond to queries for IObjectWithSite or not.
Show: