From 61847dddd4fd497057c780658e383c4627de19ec Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sat, 29 Dec 2018 22:12:08 -0600 Subject: Import code from old v4 repo --- .../ManagedBundleRunner/BundleErrorEventArgs.cs | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/Samples/ManagedBundleRunner/BundleErrorEventArgs.cs (limited to 'src/Samples/ManagedBundleRunner/BundleErrorEventArgs.cs') diff --git a/src/Samples/ManagedBundleRunner/BundleErrorEventArgs.cs b/src/Samples/ManagedBundleRunner/BundleErrorEventArgs.cs new file mode 100644 index 00000000..2c377326 --- /dev/null +++ b/src/Samples/ManagedBundleRunner/BundleErrorEventArgs.cs @@ -0,0 +1,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; + + /// + /// Arguments provided when bundle encounters an error. + /// + [Serializable] + public class BundleErrorEventArgs : EventArgs + { + /// + /// Gets the error code. + /// + public int Code { get; set; } + + /// + /// Gets the error message. + /// + public string Message { get; set; } + + /// + /// Gets the recommended display flags for an error dialog. + /// + public int UIHint { get; set; } + + /// + /// Gets or sets the of the operation. This is passed back to the bundle. + /// + public BundleResult Result { get; set; } + } +} -- cgit v1.2.3-55-g6feb