VsTaskLibraryHelper::Wait Method (IVsTask^, Int32, VsTaskWaitOptions)

 

Waits for the task to complete (not including any continuations). Override for WaitEx to use correct enumeration types.

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,
	VsTaskWaitOptions options
)

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.

options
Type: Microsoft.VisualStudio.Shell::VsTaskWaitOptions

The options for the wait operation, as specified in VsTaskWaitOptions.

Return Value

Type: System::Boolean

The time to wait.

Return to top
Show: