FindRibbons 类

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

继承层次结构

System.Object
  System.MarshalByRefObject
    Microsoft.Build.Utilities.AppDomainIsolatedTask
      Microsoft.VisualStudio.Tools.Office.BuildTasks.FindRibbons

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

语法

声明
<ComVisibleAttribute(False)> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class FindRibbons _
    Inherits AppDomainIsolatedTask
[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class FindRibbons : AppDomainIsolatedTask

FindRibbons 类型公开以下成员。

构造函数

  名称 说明
公共方法 FindRibbons 基础结构。

页首

属性

  名称 说明
公共属性 AssemblyName 基础结构。
公共属性 BuildEngine 获取或设置任务可用的生成引擎接口。 (继承自 AppDomainIsolatedTask。)
公共属性 HostObject 获取或设置一个宿主对象实例,该实例与派生的 Task 关联。 (继承自 AppDomainIsolatedTask。)
公共属性 Log 获取包含任务记录方法的任务记录帮助器对象的实例。 (继承自 AppDomainIsolatedTask。)
公共属性 RibbonTypes 基础结构。
公共属性 TargetFramework 基础结构。

页首

方法

  名称 说明
公共方法 CreateObjRef 安全关键。创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。 (继承自 MarshalByRefObject。)
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
公共方法 Execute 基础结构。 (重写 AppDomainIsolatedTask.Execute()。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetLifetimeService 安全关键。检索控制此实例的生存期策略的当前生存期服务对象。 (继承自 MarshalByRefObject。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 InitializeLifetimeService 安全关键。当在派生类中被重写时,赋予任务无限期的租约时间。 (继承自 AppDomainIsolatedTask。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

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

请参见

参考

Microsoft.VisualStudio.Tools.Office.BuildTasks 命名空间