AsyncServiceProvider Constructor

Visual Studio 2015
 

Creates a new instance of AsyncServiceProvider.

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

NameDescription
System_CAPS_pubmethodAsyncServiceProvider(IAsyncServiceProvider^)

Creates a new AsyncServiceProvider with the specified service provider.

System_CAPS_pubmethodAsyncServiceProvider(IAsyncServiceProvider^, Boolean)

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".

Return to top
Show: