VsTaskLibraryHelper::Wait Method (IVsTask^, Int32, VsTaskWaitOptions)
Visual Studio 2015
Waits for the task to complete (not including any continuations). Override for WaitEx to use correct enumeration types.
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.
Show: