diff options
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/EventArgs.cs')
-rw-r--r-- | src/api/burn/WixToolset.Mba.Core/EventArgs.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs index 00d90c83..04e7b579 100644 --- a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs +++ b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs | |||
@@ -782,6 +782,39 @@ namespace WixToolset.Mba.Core | |||
782 | } | 782 | } |
783 | 783 | ||
784 | /// <summary> | 784 | /// <summary> |
785 | /// Event arguments for <see cref="IDefaultBootstrapperApplication.PlanRollbackBoundary"/> | ||
786 | /// </summary> | ||
787 | [Serializable] | ||
788 | public class PlanRollbackBoundaryEventArgs : CancellableHResultEventArgs | ||
789 | { | ||
790 | /// <summary /> | ||
791 | public PlanRollbackBoundaryEventArgs(string rollbackBoundaryId, bool recommendedTransaction, bool transaction, bool cancelRecommendation) | ||
792 | : base(cancelRecommendation) | ||
793 | { | ||
794 | this.RollbackBoundaryId = rollbackBoundaryId; | ||
795 | this.RecommendedTransaction = recommendedTransaction; | ||
796 | this.Transaction = transaction; | ||
797 | } | ||
798 | |||
799 | /// <summary> | ||
800 | /// Gets the identity of the rollback boundary to plan for. | ||
801 | /// </summary> | ||
802 | public string RollbackBoundaryId { get; private set; } | ||
803 | |||
804 | /// <summary> | ||
805 | /// Whether or not the rollback boundary was authored to use an MSI transaction. | ||
806 | /// </summary> | ||
807 | public bool RecommendedTransaction { get; private set; } | ||
808 | |||
809 | /// <summary> | ||
810 | /// Whether or not an MSI transaction will be used in the rollback boundary. | ||
811 | /// If <see cref="RecommendedTransaction"/> is false, setting the value to true has no effect. | ||
812 | /// If <see cref="RecommendedTransaction"/> is true, setting the value to false will cause the packages inside this rollback boundary to be executed without a wrapping MSI transaction. | ||
813 | /// </summary> | ||
814 | public bool Transaction { get; set; } | ||
815 | } | ||
816 | |||
817 | /// <summary> | ||
785 | /// Event arguments for <see cref="IDefaultBootstrapperApplication.PlanPatchTarget"/> | 818 | /// Event arguments for <see cref="IDefaultBootstrapperApplication.PlanPatchTarget"/> |
786 | /// </summary> | 819 | /// </summary> |
787 | [Serializable] | 820 | [Serializable] |