diff options
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/EventArgs.cs')
-rw-r--r-- | src/api/burn/WixToolset.Mba.Core/EventArgs.cs | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs index 48850fd7..9d18c4eb 100644 --- a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs +++ b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs | |||
@@ -568,7 +568,7 @@ namespace WixToolset.Mba.Core | |||
568 | public class DetectPatchTargetEventArgs : CancellableHResultEventArgs | 568 | public class DetectPatchTargetEventArgs : CancellableHResultEventArgs |
569 | { | 569 | { |
570 | /// <summary> | 570 | /// <summary> |
571 | /// | 571 | /// |
572 | /// </summary> | 572 | /// </summary> |
573 | /// <param name="packageId"></param> | 573 | /// <param name="packageId"></param> |
574 | /// <param name="productCode"></param> | 574 | /// <param name="productCode"></param> |
@@ -944,7 +944,7 @@ namespace WixToolset.Mba.Core | |||
944 | public class PlanPatchTargetEventArgs : CancellableHResultEventArgs | 944 | public class PlanPatchTargetEventArgs : CancellableHResultEventArgs |
945 | { | 945 | { |
946 | /// <summary> | 946 | /// <summary> |
947 | /// | 947 | /// |
948 | /// </summary> | 948 | /// </summary> |
949 | /// <param name="packageId"></param> | 949 | /// <param name="packageId"></param> |
950 | /// <param name="productCode"></param> | 950 | /// <param name="productCode"></param> |
@@ -1086,7 +1086,7 @@ namespace WixToolset.Mba.Core | |||
1086 | public class PlanPackageCompleteEventArgs : StatusEventArgs | 1086 | public class PlanPackageCompleteEventArgs : StatusEventArgs |
1087 | { | 1087 | { |
1088 | /// <summary> | 1088 | /// <summary> |
1089 | /// | 1089 | /// |
1090 | /// </summary> | 1090 | /// </summary> |
1091 | /// <param name="packageId"></param> | 1091 | /// <param name="packageId"></param> |
1092 | /// <param name="hrStatus"></param> | 1092 | /// <param name="hrStatus"></param> |
@@ -2117,19 +2117,25 @@ namespace WixToolset.Mba.Core | |||
2117 | /// Additional arguments passed by the engine after committing an MSI transaction. | 2117 | /// Additional arguments passed by the engine after committing an MSI transaction. |
2118 | /// </summary> | 2118 | /// </summary> |
2119 | [Serializable] | 2119 | [Serializable] |
2120 | public class CommitMsiTransactionCompleteEventArgs : StatusEventArgs | 2120 | public class CommitMsiTransactionCompleteEventArgs : ActionEventArgs<BOOTSTRAPPER_EXECUTEMSITRANSACTIONCOMPLETE_ACTION> |
2121 | { | 2121 | { |
2122 | /// <summary /> | 2122 | /// <summary /> |
2123 | public CommitMsiTransactionCompleteEventArgs(string transactionId, int hrStatus) | 2123 | public CommitMsiTransactionCompleteEventArgs(string transactionId, int hrStatus, ApplyRestart restart, BOOTSTRAPPER_EXECUTEMSITRANSACTIONCOMPLETE_ACTION recommendation, BOOTSTRAPPER_EXECUTEMSITRANSACTIONCOMPLETE_ACTION action) |
2124 | : base(hrStatus) | 2124 | : base(hrStatus, recommendation, action) |
2125 | { | 2125 | { |
2126 | this.TransactionId = transactionId; | 2126 | this.TransactionId = transactionId; |
2127 | this.Restart = restart; | ||
2127 | } | 2128 | } |
2128 | 2129 | ||
2129 | /// <summary> | 2130 | /// <summary> |
2130 | /// Gets the MSI transaction Id. | 2131 | /// Gets the MSI transaction Id. |
2131 | /// </summary> | 2132 | /// </summary> |
2132 | public string TransactionId { get; private set; } | 2133 | public string TransactionId { get; private set; } |
2134 | |||
2135 | /// <summary> | ||
2136 | /// Gets the package restart state after being applied. | ||
2137 | /// </summary> | ||
2138 | public ApplyRestart Restart { get; private set; } | ||
2133 | } | 2139 | } |
2134 | 2140 | ||
2135 | /// <summary> | 2141 | /// <summary> |
@@ -2154,19 +2160,25 @@ namespace WixToolset.Mba.Core | |||
2154 | /// Additional arguments passed by the engine after rolling back an MSI transaction. | 2160 | /// Additional arguments passed by the engine after rolling back an MSI transaction. |
2155 | /// </summary> | 2161 | /// </summary> |
2156 | [Serializable] | 2162 | [Serializable] |
2157 | public class RollbackMsiTransactionCompleteEventArgs : StatusEventArgs | 2163 | public class RollbackMsiTransactionCompleteEventArgs : ActionEventArgs<BOOTSTRAPPER_EXECUTEMSITRANSACTIONCOMPLETE_ACTION> |
2158 | { | 2164 | { |
2159 | /// <summary /> | 2165 | /// <summary /> |
2160 | public RollbackMsiTransactionCompleteEventArgs(string transactionId, int hrStatus) | 2166 | public RollbackMsiTransactionCompleteEventArgs(string transactionId, int hrStatus, ApplyRestart restart, BOOTSTRAPPER_EXECUTEMSITRANSACTIONCOMPLETE_ACTION recommendation, BOOTSTRAPPER_EXECUTEMSITRANSACTIONCOMPLETE_ACTION action) |
2161 | : base(hrStatus) | 2167 | : base(hrStatus, recommendation, action) |
2162 | { | 2168 | { |
2163 | this.TransactionId = transactionId; | 2169 | this.TransactionId = transactionId; |
2170 | this.Restart = restart; | ||
2164 | } | 2171 | } |
2165 | 2172 | ||
2166 | /// <summary> | 2173 | /// <summary> |
2167 | /// Gets the MSI transaction Id. | 2174 | /// Gets the MSI transaction Id. |
2168 | /// </summary> | 2175 | /// </summary> |
2169 | public string TransactionId { get; private set; } | 2176 | public string TransactionId { get; private set; } |
2177 | |||
2178 | /// <summary> | ||
2179 | /// Gets the package restart state after being applied. | ||
2180 | /// </summary> | ||
2181 | public ApplyRestart Restart { get; private set; } | ||
2170 | } | 2182 | } |
2171 | 2183 | ||
2172 | /// <summary> | 2184 | /// <summary> |
@@ -2176,7 +2188,7 @@ namespace WixToolset.Mba.Core | |||
2176 | public class PauseAutomaticUpdatesBeginEventArgs : HResultEventArgs | 2188 | public class PauseAutomaticUpdatesBeginEventArgs : HResultEventArgs |
2177 | { | 2189 | { |
2178 | /// <summary> | 2190 | /// <summary> |
2179 | /// | 2191 | /// |
2180 | /// </summary> | 2192 | /// </summary> |
2181 | public PauseAutomaticUpdatesBeginEventArgs() | 2193 | public PauseAutomaticUpdatesBeginEventArgs() |
2182 | { | 2194 | { |
@@ -2190,7 +2202,7 @@ namespace WixToolset.Mba.Core | |||
2190 | public class PauseAutomaticUpdatesCompleteEventArgs : StatusEventArgs | 2202 | public class PauseAutomaticUpdatesCompleteEventArgs : StatusEventArgs |
2191 | { | 2203 | { |
2192 | /// <summary> | 2204 | /// <summary> |
2193 | /// | 2205 | /// |
2194 | /// </summary> | 2206 | /// </summary> |
2195 | /// <param name="hrStatus"></param> | 2207 | /// <param name="hrStatus"></param> |
2196 | public PauseAutomaticUpdatesCompleteEventArgs(int hrStatus) | 2208 | public PauseAutomaticUpdatesCompleteEventArgs(int hrStatus) |
@@ -2206,7 +2218,7 @@ namespace WixToolset.Mba.Core | |||
2206 | public class SystemRestorePointBeginEventArgs : HResultEventArgs | 2218 | public class SystemRestorePointBeginEventArgs : HResultEventArgs |
2207 | { | 2219 | { |
2208 | /// <summary> | 2220 | /// <summary> |
2209 | /// | 2221 | /// |
2210 | /// </summary> | 2222 | /// </summary> |
2211 | public SystemRestorePointBeginEventArgs() | 2223 | public SystemRestorePointBeginEventArgs() |
2212 | { | 2224 | { |
@@ -2220,7 +2232,7 @@ namespace WixToolset.Mba.Core | |||
2220 | public class SystemRestorePointCompleteEventArgs : StatusEventArgs | 2232 | public class SystemRestorePointCompleteEventArgs : StatusEventArgs |
2221 | { | 2233 | { |
2222 | /// <summary> | 2234 | /// <summary> |
2223 | /// | 2235 | /// |
2224 | /// </summary> | 2236 | /// </summary> |
2225 | /// <param name="hrStatus"></param> | 2237 | /// <param name="hrStatus"></param> |
2226 | public SystemRestorePointCompleteEventArgs(int hrStatus) | 2238 | public SystemRestorePointCompleteEventArgs(int hrStatus) |