Sdílet prostřednictvím


AsyncModelingPackage.InitializeAsync Metoda

Definice

Odvozené třídy by měly tuto metodu přepsat a provádět práci specifickou pro balíčky, jako je registrace továren editoru.

protected:
 override System::Threading::Tasks::Task ^ InitializeAsync(System::Threading::CancellationToken cancellationToken, IProgress<Microsoft::VisualStudio::Shell::ServiceProgressData ^> ^ progress);
protected override System.Threading.Tasks.Task InitializeAsync (System.Threading.CancellationToken cancellationToken, IProgress<Microsoft.VisualStudio.Shell.ServiceProgressData> progress);
override this.InitializeAsync : System.Threading.CancellationToken * IProgress<Microsoft.VisualStudio.Shell.ServiceProgressData> -> System.Threading.Tasks.Task
Protected Overrides Function InitializeAsync (cancellationToken As CancellationToken, progress As IProgress(Of ServiceProgressData)) As Task

Parametry

cancellationToken
CancellationToken

Návraty

Platí pro