Freigeben über


AsyncPackage.IVsAsyncToolWindowFactory.InitializeToolWindowAsync Method

Definition

Performs initialization in preparation for creating the tool window identified by toolWindowType.

 virtual Microsoft::VisualStudio::Shell::Interop::IVsTask ^ Microsoft.VisualStudio.Shell.Interop.IVsAsyncToolWindowFactory.InitializeToolWindowAsync(Guid toolWindowType, System::UInt32 id) = Microsoft::VisualStudio::Shell::Interop::IVsAsyncToolWindowFactory::InitializeToolWindowAsync;
Microsoft.VisualStudio.Shell.Interop.IVsTask IVsAsyncToolWindowFactory.InitializeToolWindowAsync (Guid toolWindowType, uint id);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsAsyncToolWindowFactory.InitializeToolWindowAsync : Guid * uint32 -> Microsoft.VisualStudio.Shell.Interop.IVsTask
override this.Microsoft.VisualStudio.Shell.Interop.IVsAsyncToolWindowFactory.InitializeToolWindowAsync : Guid * uint32 -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Function InitializeToolWindowAsync (toolWindowType As Guid, id As UInteger) As IVsTask Implements IVsAsyncToolWindowFactory.InitializeToolWindowAsync

Parameters

toolWindowType
Guid

Type of the window to be created

id
UInt32

The instance identifier for the tool window

Returns

A task representing the initialization work. The result of the task is a context object that will be passed to the passed to the ToolWindowPane constructor. If no object needs to be passed to the pane constructor, null can be returned.

Implements

Applies to