1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
7 public class UnhandledExceptionEventArgs
: EventArgs
9 private readonly object _exception
;
10 private readonly bool _isTerminating
;
12 public UnhandledExceptionEventArgs(object exception
, bool isTerminating
)
14 _exception
= exception
;
15 _isTerminating
= isTerminating
;
18 public object ExceptionObject
=> _exception
;
20 public bool IsTerminating
=> _isTerminating
;