diff options
Diffstat (limited to 'src/samples/burn/ManagedBundleRunner/BundleErrorEventArgs.cs')
| -rw-r--r-- | src/samples/burn/ManagedBundleRunner/BundleErrorEventArgs.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/samples/burn/ManagedBundleRunner/BundleErrorEventArgs.cs b/src/samples/burn/ManagedBundleRunner/BundleErrorEventArgs.cs new file mode 100644 index 00000000..2c377326 --- /dev/null +++ b/src/samples/burn/ManagedBundleRunner/BundleErrorEventArgs.cs | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
| 2 | |||
| 3 | namespace Wix.Samples | ||
| 4 | { | ||
| 5 | using System; | ||
| 6 | |||
| 7 | /// <summary> | ||
| 8 | /// Arguments provided when bundle encounters an error. | ||
| 9 | /// </summary> | ||
| 10 | [Serializable] | ||
| 11 | public class BundleErrorEventArgs : EventArgs | ||
| 12 | { | ||
| 13 | /// <summary> | ||
| 14 | /// Gets the error code. | ||
| 15 | /// </summary> | ||
| 16 | public int Code { get; set; } | ||
| 17 | |||
| 18 | /// <summary> | ||
| 19 | /// Gets the error message. | ||
| 20 | /// </summary> | ||
| 21 | public string Message { get; set; } | ||
| 22 | |||
| 23 | /// <summary> | ||
| 24 | /// Gets the recommended display flags for an error dialog. | ||
| 25 | /// </summary> | ||
| 26 | public int UIHint { get; set; } | ||
| 27 | |||
| 28 | /// <summary> | ||
| 29 | /// Gets or sets the <see cref="Result"/> of the operation. This is passed back to the bundle. | ||
| 30 | /// </summary> | ||
| 31 | public BundleResult Result { get; set; } | ||
| 32 | } | ||
| 33 | } | ||
