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 定义。)

页首

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间