Class ExceptionHandlingBehaviorsBase
Implements the default behavior when an unhandled exception occurs.
Implements
Namespace: Sartorius.SAF.ExceptionHandling
Assembly: Sartorius.SAF.dll
Syntax
public class ExceptionHandlingBehaviorsBase : IExceptionHandlingBehaviors
Methods
View SourceShouldShutDownApplication(Exception)
Defines the behavior of the application when an unhandled exception occurs.
Declaration
public virtual bool ShouldShutDownApplication(Exception exception)
Parameters
| Type | Name | Description |
|---|---|---|
| Exception | exception |
Returns
| Type | Description |
|---|---|
| bool |
Examples
This example illustrates how to use the IExceptionHandlingBehaviors control to display a caption.