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.

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

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("26F21ACD-A055-4F5B-97BE-27C2EC4D7A33")]
public interface IVsTask2 : IVsTask

NameDescription
System_CAPS_pubpropertyAsyncState

System_CAPS_pubpropertyDescription

System_CAPS_pubpropertyIsCanceled

System_CAPS_pubpropertyIsCompleted

System_CAPS_pubpropertyIsFaulted

System_CAPS_pubpropertyWaitMessage

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.

Return to top
Show: