Class ApplicationUnhandledExceptionEventArgs
Provides data for the UnhandledException event.
Inheritance
System.Object
System.EventArgs
ApplicationUnhandledExceptionEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows
Assembly: OpenSilver.dll
Syntax
public class ApplicationUnhandledExceptionEventArgs : EventArgs
Constructors
| Improve this Doc View SourceApplicationUnhandledExceptionEventArgs(Exception, Boolean)
Initializes a new instance of the ApplicationUnhandledExceptionEventArgs class.
Declaration
public ApplicationUnhandledExceptionEventArgs(Exception ex, bool handled)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | ex | The exception that is being thrown as unhandled. |
System.Boolean | handled | A value that indicates whether the exception has been handled and should not be processed further. |
Properties
| Improve this Doc View SourceExceptionObject
Gets or sets the unhandled exception.
Declaration
public Exception ExceptionObject { get; set; }
Property Value
Type | Description |
---|---|
System.Exception | The unhandled exception. |
Handled
Gets or sets a value that indicates whether the exception is handled.
Declaration
public bool Handled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true to mark the exception as handled, which indicates that Silverlight should not process it further; otherwise, false. |