Udostępnij za pośrednictwem


AsyncPackage.IAsyncLoadablePackageInitialize.Initialize Method

Definition

Overloads

IAsyncLoadablePackageInitialize.Initialize(IAsyncServiceProvider, IProfferAsyncService, IAsyncProgressCallback)

Async version of SetSite, mostly called from a background thread, but not always.

IAsyncLoadablePackageInitialize.Initialize(IAsyncServiceProvider, IProfferAsyncService, IAsyncProgressCallback)

Async version of SetSite, called from a b/g thread.

IAsyncLoadablePackageInitialize.Initialize(IAsyncServiceProvider, IProfferAsyncService, IAsyncProgressCallback)

Async version of SetSite, mostly called from a background thread, but not always.

 virtual Microsoft::VisualStudio::Shell::Interop::IVsTask ^ Microsoft.VisualStudio.Shell.Interop.IAsyncLoadablePackageInitialize.Initialize(Microsoft::VisualStudio::Shell::Interop::COMAsyncServiceProvider::IAsyncServiceProvider ^ asyncServiceProvider, Microsoft::VisualStudio::Shell::Interop::IProfferAsyncService ^ profferAsyncService, Microsoft::VisualStudio::Shell::Interop::IAsyncProgressCallback ^ progressCallback) = Microsoft::VisualStudio::Shell::Interop::IAsyncLoadablePackageInitialize::Initialize;
Microsoft.VisualStudio.Shell.Interop.IVsTask IAsyncLoadablePackageInitialize.Initialize (Microsoft.VisualStudio.Shell.Interop.COMAsyncServiceProvider.IAsyncServiceProvider asyncServiceProvider, Microsoft.VisualStudio.Shell.Interop.IProfferAsyncService profferAsyncService, Microsoft.VisualStudio.Shell.Interop.IAsyncProgressCallback progressCallback);
abstract member Microsoft.VisualStudio.Shell.Interop.IAsyncLoadablePackageInitialize.Initialize : Microsoft.VisualStudio.Shell.Interop.COMAsyncServiceProvider.IAsyncServiceProvider * Microsoft.VisualStudio.Shell.Interop.IProfferAsyncService * Microsoft.VisualStudio.Shell.Interop.IAsyncProgressCallback -> Microsoft.VisualStudio.Shell.Interop.IVsTask
override this.Microsoft.VisualStudio.Shell.Interop.IAsyncLoadablePackageInitialize.Initialize : Microsoft.VisualStudio.Shell.Interop.COMAsyncServiceProvider.IAsyncServiceProvider * Microsoft.VisualStudio.Shell.Interop.IProfferAsyncService * Microsoft.VisualStudio.Shell.Interop.IAsyncProgressCallback -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Function Initialize (asyncServiceProvider As IAsyncServiceProvider, profferAsyncService As IProfferAsyncService, progressCallback As IAsyncProgressCallback) As IVsTask Implements IAsyncLoadablePackageInitialize.Initialize

Parameters

asyncServiceProvider
Microsoft.VisualStudio.Shell.Interop.COMAsyncServiceProvider.IAsyncServiceProvider
profferAsyncService
IProfferAsyncService
progressCallback
IAsyncProgressCallback

Returns

A task which represents the async initialization work.

Implements

Applies to

IAsyncLoadablePackageInitialize.Initialize(IAsyncServiceProvider, IProfferAsyncService, IAsyncProgressCallback)

Async version of SetSite, called from a b/g thread.

 virtual Microsoft::VisualStudio::Shell::Interop::IVsTask ^ Microsoft.VisualStudio.Shell.Interop.IAsyncLoadablePackageInitialize.Initialize(Microsoft::VisualStudio::Shell::Interop::IAsyncServiceProvider ^ asyncServiceProvider, Microsoft::VisualStudio::Shell::Interop::IProfferAsyncService ^ profferAsyncService, Microsoft::VisualStudio::Shell::Interop::IAsyncProgressCallback ^ progressCallback) = Microsoft::VisualStudio::Shell::Interop::IAsyncLoadablePackageInitialize::Initialize;
 virtual Microsoft::VisualStudio::Shell::Interop::IVsTask ^ Microsoft.VisualStudio.Shell.Interop.IAsyncLoadablePackageInitialize.Initialize(Microsoft::VisualStudio::Shell::Interop::IAsyncServiceProvider ^ asyncServiceProvider, Microsoft::VisualStudio::Shell::Interop::IProfferAsyncService ^ profferAsyncService, Microsoft::VisualStudio::Shell::Interop::IAsyncProgressCallback ^ progressCallback) = Microsoft::VisualStudio::Shell::Interop::IAsyncLoadablePackageInitialize::Initialize;
Microsoft::VisualStudio::Shell::Interop::IVsTask Microsoft.VisualStudio.Shell.Interop.IAsyncLoadablePackageInitialize.Initialize(Microsoft::VisualStudio::Shell::Interop::IAsyncServiceProvider const & asyncServiceProvider, Microsoft::VisualStudio::Shell::Interop::IProfferAsyncService const & profferAsyncService, Microsoft::VisualStudio::Shell::Interop::IAsyncProgressCallback const & progressCallback);
Microsoft.VisualStudio.Shell.Interop.IVsTask IAsyncLoadablePackageInitialize.Initialize (Microsoft.VisualStudio.Shell.Interop.IAsyncServiceProvider asyncServiceProvider, Microsoft.VisualStudio.Shell.Interop.IProfferAsyncService profferAsyncService, Microsoft.VisualStudio.Shell.Interop.IAsyncProgressCallback progressCallback);
abstract member Microsoft.VisualStudio.Shell.Interop.IAsyncLoadablePackageInitialize.Initialize : Microsoft.VisualStudio.Shell.Interop.IAsyncServiceProvider * Microsoft.VisualStudio.Shell.Interop.IProfferAsyncService * Microsoft.VisualStudio.Shell.Interop.IAsyncProgressCallback -> Microsoft.VisualStudio.Shell.Interop.IVsTask
override this.Microsoft.VisualStudio.Shell.Interop.IAsyncLoadablePackageInitialize.Initialize : Microsoft.VisualStudio.Shell.Interop.IAsyncServiceProvider * Microsoft.VisualStudio.Shell.Interop.IProfferAsyncService * Microsoft.VisualStudio.Shell.Interop.IAsyncProgressCallback -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Function Initialize (asyncServiceProvider As IAsyncServiceProvider, profferAsyncService As IProfferAsyncService, progressCallback As IAsyncProgressCallback) As IVsTask Implements IAsyncLoadablePackageInitialize.Initialize

Parameters

asyncServiceProvider
IAsyncServiceProvider

The async service provider.

profferAsyncService
IProfferAsyncService

The proffer async service.

progressCallback
IAsyncProgressCallback

The progress callback.

Returns

A task which represents the async initialization work.

Implements

Applies to