Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
GameUnhandledExceptionEventArgs.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 namespace SiliconStudio.Paradox.Games
4 {
6  {
7  /// <summary>
8  /// Initializes a new instance of the <see cref="GameUnhandledExceptionEventArgs"/> class.
9  /// </summary>
10  /// <param name="exceptionObject">The exception object.</param>
11  /// <param name="isTerminating">if set to <c>true</c> [is terminating].</param>
12  public GameUnhandledExceptionEventArgs(object exceptionObject, bool isTerminating)
13  {
14  ExceptionObject = exceptionObject;
15  IsTerminating = isTerminating;
16  }
17 
18  /// <summary>
19  /// Gets the unhandled exception object.
20  /// </summary>
21  /// <value>
22  /// The unhandled exception object.
23  /// </value>
24  public object ExceptionObject { get; private set; }
25 
26  /// <summary>
27  /// Gets a value indicating whether the CLR is terminating.
28  /// </summary>
29  /// <value>
30  /// <c>true</c> if CLR is terminating; otherwise, <c>false</c>.
31  /// </value>
32  public bool IsTerminating { get; private set; }
33  }
34 }
GameUnhandledExceptionEventArgs(object exceptionObject, bool isTerminating)
Initializes a new instance of the GameUnhandledExceptionEventArgs class.