diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-03-18 20:15:33 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-03-19 12:07:32 -0500 |
commit | fb54576f1d05e82ba47cd718c4c4f8b3bad624c9 (patch) | |
tree | b7d6b30bd3c9294b74874c1a48b20a8da8869a69 /src/api/burn/WixToolset.Mba.Core/EventArgs.cs | |
parent | 581c320e04949300d6c3bee71fb5fc1a557f9263 (diff) | |
download | wix-fb54576f1d05e82ba47cd718c4c4f8b3bad624c9.tar.gz wix-fb54576f1d05e82ba47cd718c4c4f8b3bad624c9.tar.bz2 wix-fb54576f1d05e82ba47cd718c4c4f8b3bad624c9.zip |
Give BA process id and option to wait for cancelled process to exit.
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 | } |