ExecuteCompletedEventArgs 类

ExecuteCompleted 事件使用的参数。

继承层次结构

Object
  EventArgs
    AsyncCompletedEventArgs
      Microsoft.VisualStudio.ExtensionManager.ExecuteCompletedEventArgs

命名空间:  Microsoft.VisualStudio.ExtensionManager
程序集:  Microsoft.VisualStudio.ExtensionManager(在 Microsoft.VisualStudio.ExtensionManager.dll 中)

语法

声明
Public Class ExecuteCompletedEventArgs _
    Inherits AsyncCompletedEventArgs
public class ExecuteCompletedEventArgs : AsyncCompletedEventArgs
public ref class ExecuteCompletedEventArgs : public AsyncCompletedEventArgs
type ExecuteCompletedEventArgs =  
    class 
        inherit AsyncCompletedEventArgs 
    end
public class ExecuteCompletedEventArgs extends AsyncCompletedEventArgs

ExecuteCompletedEventArgs 类型公开以下成员。

构造函数

  名称 说明
公共方法 ExecuteCompletedEventArgs 创建 ExecuteCompleted 事件将使用的 ExecuteCompletedEventArgs 。

页首

属性

  名称 说明
公共属性 Cancelled 获取一个值,该值指示异步操作是否已被取消。 (继承自 AsyncCompletedEventArgs。)
公共属性 Error 获取一个值,该值指示异步操作期间发生的错误。 (继承自 AsyncCompletedEventArgs。)
公共属性 Results IVsExtensionRepositoryQuery<T> 查询返回的结果。
公共属性 TotalCount 与查询参数扩展的数目。
公共属性 UserState 获取异步任务的唯一标识符。 (继承自 AsyncCompletedEventArgs。)

页首

方法

  名称 说明
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 在垃圾回收将某一对象回收前允许该对象尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
受保护的方法 RaiseExceptionIfNecessary 如果异步操作失败,则引发用户提供的异常。 (继承自 AsyncCompletedEventArgs。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

备注

尽管此 API 支持 扩展管理器 基础结构,不建议使用它,因为它可能会发生更改。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.VisualStudio.ExtensionManager 命名空间