diff options
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core/EventArgs.cs')
-rw-r--r-- | src/api/burn/WixToolset.Mba.Core/EventArgs.cs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs index c93c2885..c2c73067 100644 --- a/src/api/burn/WixToolset.Mba.Core/EventArgs.cs +++ b/src/api/burn/WixToolset.Mba.Core/EventArgs.cs | |||
@@ -2488,4 +2488,40 @@ namespace WixToolset.Mba.Core | |||
2488 | /// </summary> | 2488 | /// </summary> |
2489 | public RequestState State { get; set; } | 2489 | public RequestState State { get; set; } |
2490 | } | 2490 | } |
2491 | |||
2492 | /// <summary> | ||
2493 | /// Event arguments for <see cref="IDefaultBootstrapperApplication.ExecuteProcessCancel"/> | ||
2494 | /// </summary> | ||
2495 | [Serializable] | ||
2496 | public class ExecuteProcessCancelEventArgs : HResultEventArgs | ||
2497 | { | ||
2498 | /// <summary /> | ||
2499 | public ExecuteProcessCancelEventArgs(string packageId, int processId, BOOTSTRAPPER_EXECUTEPROCESSCANCEL_ACTION recommendation, BOOTSTRAPPER_EXECUTEPROCESSCANCEL_ACTION action) | ||
2500 | { | ||
2501 | this.PackageId = packageId; | ||
2502 | this.ProcessId = processId; | ||
2503 | this.Recommendation = recommendation; | ||
2504 | this.Action = action; | ||
2505 | } | ||
2506 | |||
2507 | /// <summary> | ||
2508 | /// Gets the identity of the package. | ||
2509 | /// </summary> | ||
2510 | public string PackageId { get; private set; } | ||
2511 | |||
2512 | /// <summary> | ||
2513 | /// Gets the process id. | ||
2514 | /// </summary> | ||
2515 | public int ProcessId { get; private set; } | ||
2516 | |||
2517 | /// <summary> | ||
2518 | /// Gets the recommended action from the engine. | ||
2519 | /// </summary> | ||
2520 | public BOOTSTRAPPER_EXECUTEPROCESSCANCEL_ACTION Recommendation { get; private set; } | ||
2521 | |||
2522 | /// <summary> | ||
2523 | /// Gets or sets the action to be performed. This is passed back to the engine. | ||
2524 | /// </summary> | ||
2525 | public BOOTSTRAPPER_EXECUTEPROCESSCANCEL_ACTION Action { get; set; } | ||
2526 | } | ||
2491 | } | 2527 | } |