Class ErrorRoutedEventArgs
Provides data about an exception that occured during an operation.
Inheritance
System.Object
    ErrorRoutedEventArgs
  Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.Pdf_hpsftrbd_wpftmp.dll
Syntax
public class ErrorRoutedEventArgs : RoutedEventArgs
  Constructors
View SourceErrorRoutedEventArgs(Exception)
Initializes a new instance of the ErrorRoutedEventArgs class with the specified exception.
Declaration
public ErrorRoutedEventArgs(Exception error)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Exception | error | The error that has occured.  | 
      
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 | 
|---|---|---|
| String | commandName | The name of the command during which the error occured.  | 
      
| Exception | error | The error that has occured.  | 
      
Properties
View SourceCommandName
Gets the name of the command during which the error occured.
Declaration
public String CommandName { get; }
  Property Value
| Type | Description | 
|---|---|
| String | 
Error
Gets the 
Declaration
public Exception Error { get; }
  Property Value
| Type | Description | 
|---|---|
| Exception | 
ErrorHandled
Gets or sets a value indicating if the error was handled by the subscriber.
Declaration
public Boolean ErrorHandled { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Boolean | 
Remarks
If this is not set to true by a subscriber, the exception will be thrown.