VsTaskLibraryHelper::Wait Method (IVsTask^, Int32)

 

Waits for the task to complete (not including any continuations). Override for WaitEx with default options.

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

public:
[ExtensionAttribute]
static bool Wait(
	IVsTask^ task,
	int millisecondsTimeout
)

Parameters

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

The task that is to wait to complete.

millisecondsTimeout
Type: System::Int32

The timeout (in milliseconds) or INFINITE.

Return Value

Type: System::Boolean

The time to wait.

Return to top
Show: