aboutsummaryrefslogtreecommitdiff
path: root/src/samples/burn/ManagedBundleRunner/BundleErrorEventArgs.cs
blob: 2c3773264a6b7580c78540481feb714d2cac0077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// 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.

namespace Wix.Samples
{
    using System;

    /// <summary>
    /// Arguments provided when bundle encounters an error.
    /// </summary>
    [Serializable]
    public class BundleErrorEventArgs : EventArgs
    {
        /// <summary>
        /// Gets the error code.
        /// </summary>
        public int Code { get; set; }

        /// <summary>
        /// Gets the error message.
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// Gets the recommended display flags for an error dialog.
        /// </summary>
        public int UIHint { get; set; }

        /// <summary>
        /// Gets or sets the <see cref="Result"/> of the operation. This is passed back to the bundle.
        /// </summary>
        public BundleResult Result { get; set; }
    }
}