RefactoringDeploymentContributor 类

通过提供与重构日志文件中的操作相对应的部署步骤,提供用于在部署时保护重构更改意图的基类。 必须继承此类。

继承层次结构

System.Object
  Microsoft.Data.Schema.Build.DeploymentContributor
    Microsoft.Data.Schema.Build.TargetModelModifier
      Microsoft.Data.Schema.Refactoring.RefactoringDeploymentContributor

命名空间:  Microsoft.Data.Schema.Refactoring
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
Public MustInherit Class RefactoringDeploymentContributor _
    Inherits TargetModelModifier
public abstract class RefactoringDeploymentContributor : TargetModelModifier
public ref class RefactoringDeploymentContributor abstract : public TargetModelModifier
[<AbstractClass>]
type RefactoringDeploymentContributor =  
    class
        inherit TargetModelModifier
    end
public abstract class RefactoringDeploymentContributor extends TargetModelModifier

RefactoringDeploymentContributor 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 RefactoringDeploymentContributor 初始化 RefactoringDeploymentContributor 类的新实例。

页首

属性

  名称 说明
受保护的属性 Canceled 获取一个值,该值指示是否取消了参与者。 (继承自 DeploymentContributor。)

页首

方法

  名称 说明
公共方法 Cancel 取消执行参与者。 (继承自 DeploymentContributor。)
公共方法 Dispose() 释放资源。 (继承自 DeploymentContributor。)
受保护的方法 Dispose(Boolean) 按指定释放资源。 (继承自 DeploymentContributor。)
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 FilterDeployedTransactionRecords 返回基于提供的上下文筛选提供的事务而选择的事务记录的列表。
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
受保护的方法 MergeTransactionRecords 将提供的记录合并到当前列表中。
受保护的方法 OnApplyDeploymentConfiguration 在已向参与者应用部署配置时调用。 (重写 DeploymentContributor.OnApplyDeploymentConfiguration(DeploymentContributorContext, ICollection<DeploymentContributorConfigurationFile>)。)
受保护的方法 OnEstablishDeploymentConfiguration 在生成过程中调用,以输出在合并具有重构扩展的现有配置文件时创建的配置文件。 (重写 DeploymentContributor.OnEstablishDeploymentConfiguration(DeploymentContributorConfigurationSetup)。)
公共方法 ProposeTargetOperations 在该方法使用提供的上下文重置枚举后返回此对象。 (重写 TargetModelModifier.ProposeTargetOperations(DeploymentContributorContext)。)
公共方法 ProvideDeploymentModifier 返回基于提供的上下文的部署修改器。 (重写 TargetModelModifier.ProvideDeploymentModifier(DeploymentContributorContext)。)
受保护的方法 ProvideDeploymentStep 当在派生类中重写时,返回基于提供的上下文的部署步骤。
受保护的方法 PublishMessage 将消息发布到部署引擎。部署引擎将处理该消息并将其报告给使用方。 (继承自 DeploymentContributor。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

备注

对继承者的说明

从 RefactoringDeploymentContributor 继承时,必须重写以下成员:

线程安全

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

请参见

参考

Microsoft.Data.Schema.Refactoring 命名空间

TargetModelModifier