Show / Hide Table of Contents

Class ErrorRoutedEventArgs

Provides data about an exception that occured during an operation.

Inheritance
System.Object
System.EventArgs
System.Windows.RoutedEventArgs
ErrorRoutedEventArgs
System.Windows.RoutedEventArgs.InvokeEventHandler(System.Delegate, System.Object)
System.Windows.RoutedEventArgs.OnSetSource(System.Object)
System.Windows.RoutedEventArgs.Handled
System.Windows.RoutedEventArgs.OriginalSource
System.Windows.RoutedEventArgs.RoutedEvent
System.Windows.RoutedEventArgs.Source
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: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.Pdf_hpsftrbd_wpftmp.dll
Syntax
public class ErrorRoutedEventArgs : RoutedEventArgs

Constructors

View Source

ErrorRoutedEventArgs(Exception)

Initializes a new instance of the ErrorRoutedEventArgs class with the specified exception.

Declaration
public ErrorRoutedEventArgs(Exception error)
Parameters
Type Name Description
System.Exception error

The error that has occured.

View Source

ErrorRoutedEventArgs(String, Exception)

Initializes a new instance of the ErrorRoutedEventArgs class with the specified command name and exception.

Declaration
public ErrorRoutedEventArgs(string commandName, Exception error)
Parameters
Type Name Description
System.String commandName

The name of the command during which the error occured.

System.Exception error

The error that has occured.

Properties

View Source

CommandName

Gets the name of the command during which the error occured.

Declaration
public string CommandName { get; }
Property Value
Type Description
System.String
View Source

Error

Gets the System.Exception that occured.

Declaration
public Exception Error { get; }
Property Value
Type Description
System.Exception
View Source

ErrorHandled

Gets or sets a value indicating if the error was handled by the subscriber.

Declaration
public bool ErrorHandled { get; set; }
Property Value
Type Description
System.Boolean
Remarks

If this is not set to true by a subscriber, the exception will be thrown.

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX