IAsyncLoadablePackageInitialize.Initialize Method

Definition

Overloads

Initialize(IAsyncServiceProvider, IProfferAsyncService, IAsyncProgressCallback)
Initialize(IAsyncServiceProvider, IProfferAsyncService, IAsyncProgressCallback)

Initializes the package.

Initialize(IAsyncServiceProvider, IProfferAsyncService, IAsyncProgressCallback)

public:
 Microsoft::VisualStudio::Shell::Interop::IVsTask ^ Initialize(Microsoft::VisualStudio::Shell::Interop::COMAsyncServiceProvider::IAsyncServiceProvider ^ pServiceProvider, Microsoft::VisualStudio::Shell::Interop::IProfferAsyncService ^ pProfferService, Microsoft::VisualStudio::Shell::Interop::IAsyncProgressCallback ^ pProgressCallback);
public Microsoft.VisualStudio.Shell.Interop.IVsTask Initialize (Microsoft.VisualStudio.Shell.Interop.COMAsyncServiceProvider.IAsyncServiceProvider pServiceProvider, Microsoft.VisualStudio.Shell.Interop.IProfferAsyncService pProfferService, Microsoft.VisualStudio.Shell.Interop.IAsyncProgressCallback pProgressCallback);
abstract member Initialize : Microsoft.VisualStudio.Shell.Interop.COMAsyncServiceProvider.IAsyncServiceProvider * Microsoft.VisualStudio.Shell.Interop.IProfferAsyncService * Microsoft.VisualStudio.Shell.Interop.IAsyncProgressCallback -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function Initialize (pServiceProvider As IAsyncServiceProvider, pProfferService As IProfferAsyncService, pProgressCallback As IAsyncProgressCallback) As IVsTask

Parameters

pServiceProvider
Microsoft.VisualStudio.Shell.Interop.COMAsyncServiceProvider.IAsyncServiceProvider
pProfferService
IProfferAsyncService
pProgressCallback
IAsyncProgressCallback

Returns

Remarks

This method is safe to access from any thread.

Applies to

Initialize(IAsyncServiceProvider, IProfferAsyncService, IAsyncProgressCallback)

Initializes the package.

public:
 Microsoft::VisualStudio::Shell::Interop::IVsTask ^ Initialize(Microsoft::VisualStudio::Shell::Interop::IAsyncServiceProvider ^ pServiceProvider, Microsoft::VisualStudio::Shell::Interop::IProfferAsyncService ^ pProfferService, Microsoft::VisualStudio::Shell::Interop::IAsyncProgressCallback ^ pProgressCallback);
public:
 Microsoft::VisualStudio::Shell::Interop::IVsTask ^ Initialize(Microsoft::VisualStudio::Shell::Interop::IAsyncServiceProvider ^ pServiceProvider, Microsoft::VisualStudio::Shell::Interop::IProfferAsyncService ^ pProfferService, Microsoft::VisualStudio::Shell::Interop::IAsyncProgressCallback ^ pProgressCallback);
Microsoft::VisualStudio::Shell::Interop::IVsTask Initialize(Microsoft::VisualStudio::Shell::Interop::IAsyncServiceProvider const & pServiceProvider, Microsoft::VisualStudio::Shell::Interop::IProfferAsyncService const & pProfferService, Microsoft::VisualStudio::Shell::Interop::IAsyncProgressCallback const & pProgressCallback);
public Microsoft.VisualStudio.Shell.Interop.IVsTask Initialize (Microsoft.VisualStudio.Shell.Interop.IAsyncServiceProvider pServiceProvider, Microsoft.VisualStudio.Shell.Interop.IProfferAsyncService pProfferService, Microsoft.VisualStudio.Shell.Interop.IAsyncProgressCallback pProgressCallback);
abstract member Initialize : Microsoft.VisualStudio.Shell.Interop.IAsyncServiceProvider * Microsoft.VisualStudio.Shell.Interop.IProfferAsyncService * Microsoft.VisualStudio.Shell.Interop.IAsyncProgressCallback -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function Initialize (pServiceProvider As IAsyncServiceProvider, pProfferService As IProfferAsyncService, pProgressCallback As IAsyncProgressCallback) As IVsTask

Parameters

pServiceProvider
IAsyncServiceProvider

The service provider.

pProfferService
IProfferAsyncService

The proffer service.

pProgressCallback
IAsyncProgressCallback

The callback

Returns

Returns IVsTask.

Applies to