| 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 WixToolset.Tools |
| 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 | } |