AsyncPackage::IAsyncLoadablePackageInitialize::Initialize Method (IAsyncServiceProvider^, IProfferAsyncService^, IAsyncProgressCallback^)

Visual Studio 2015
 

Async version of SetSite, called from a background thread.

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

private:
virtual IVsTask^ Initialize(
	IAsyncServiceProvider^ asyncServiceProvider,
	IProfferAsyncService^ profferAsyncService,
	IAsyncProgressCallback^ progressCallback
) sealed = IAsyncLoadablePackageInitialize::Initialize

Parameters

asyncServiceProvider
Type: Microsoft.VisualStudio.Shell.Interop::IAsyncServiceProvider^

The async service provider.

profferAsyncService
Type: Microsoft.VisualStudio.Shell.Interop::IProfferAsyncService^

The proffer async service.

progressCallback
Type: Microsoft.VisualStudio.Shell.Interop::IAsyncProgressCallback^

The progress callback.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop::IVsTask^

A task that represents the async initialization work.

Return to top
Show: