IVsTask2 Interface
Visual Studio 2015
Extends IVsTask to add support for task-specific messages that are shown in the Threaded Wait Dialog when the UI thread is blocked on a task. If a WaitMessage isn't specified, then a generic message (Waiting for a required operation to complete...) is used.
Assembly: Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime (in Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll)
| Name | Description | |
|---|---|---|
![]() | AsyncState | |
![]() | Description | |
![]() | IsCanceled | |
![]() | IsCompleted | |
![]() | IsFaulted | |
![]() | WaitMessage | Gets or sets the message that is displayed in the Threaded Wait Dialog when the UI thread calls GetResult or Wait and the task isn't complete. If no WaitMessage is supplied (either null or whitespace) a generic message will be used. |
Show:

