IVsTask 接口
命名空间: Microsoft.VisualStudio.Shell.Interop
程序集: Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
Microsoft.VisualStudio.Shell.Interop.11.0(在 Microsoft.VisualStudio.Shell.Interop.11.0.dll 中)
Microsoft.VisualStudio.Shell.Immutable.11.0(在 Microsoft.VisualStudio.Shell.Immutable.11.0.dll 中)
语法
声明
<GuidAttribute("0B98EAB8-00BB-45D0-AE2F-3DE35CD68235")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsTask
[GuidAttribute("0B98EAB8-00BB-45D0-AE2F-3DE35CD68235")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTask
IVsTask 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
AsyncState | |
![]() |
Description | |
![]() |
IsCanceled | |
![]() |
IsCompleted | |
![]() |
IsFaulted |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
_VtblGap1_1 | |
![]() |
_VtblGap2_2 | |
![]() |
_VtblGap3_1 | |
![]() |
AbortIfCanceled | |
![]() |
Cancel | |
![]() |
ContinueWith | |
![]() |
ContinueWithEx | |
![]() |
GetResult | |
![]() |
Start | |
![]() |
Wait | |
![]() |
WaitEx |
页首
扩展方法
名称 | 说明 | |
---|---|---|
![]() |
ContinueWith(VsTaskRunContext, IVsTaskBody) | 已重载。 (由 VsTaskLibraryHelper 定义。) |
![]() |
ContinueWith(VsTaskRunContext, VsTaskContinuationOptions, IVsTaskBody, Object) | 已重载。 (由 VsTaskLibraryHelper 定义。) |
![]() |
GetAwaiter | (由 VsTaskLibraryHelper 定义。) |
![]() |
ResumeWith | (由 VsTaskLibraryHelper 定义。) |
![]() |
Wait(Int32) | 已重载。 (由 VsTaskLibraryHelper 定义。) |
![]() |
Wait(Int32, VsTaskWaitOptions) | 已重载。 (由 VsTaskLibraryHelper 定义。) |
页首