Show / Hide Table of Contents

Class ApplicationExceptionHandlingFacade

ExceptionHandling Facade for WPF applications.

Inheritance
System.Object
ExceptionHandlingFacade
ApplicationExceptionHandlingFacade
Implements
IExceptionHandlingFacade
ExceptionHandlingFacade.ExceptionHandled
ExceptionHandlingFacade.ExceptionHandlingBehaviors
ExceptionHandlingFacade.ExceptionsRepository
ExceptionHandlingFacade.ShouldShutDownApplication(Exception)
ExceptionHandlingFacade.SendException
ExceptionHandlingFacade.HandleException(Exception)
ExceptionHandlingFacade.RegisterCustomExceptionHandler<T>(Func<T, Boolean>)
ExceptionHandlingFacade.UnRegisterCustomExceptionHandler<T>()
ExceptionHandlingFacade.HandleCompositionException(CompositionException)
ExceptionHandlingFacade.HandleReflectionTypeLoadException(ReflectionTypeLoadException)
ExceptionHandlingFacade.RaiseExceptionHandled()
ExceptionHandlingFacade.RaiseSendException(Exception)
ExceptionHandlingFacade.SendExceptionHandler
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
Assembly: Sartorius.SAF.Presentation.Application.dll
Syntax
public class ApplicationExceptionHandlingFacade : ExceptionHandlingFacade, IExceptionHandlingFacade

Methods

View Source

LogException(Exception)

Write the exception data according application configuration.

Declaration
public override void LogException(Exception ex)
Parameters
Type Name Description
System.Exception ex

An exceptions data.

Overrides
ExceptionHandlingFacade.LogException(Exception)
Remarks

Logging exception data does only work when the given exception type is not of type System.ComponentModel.Composition.CompositionException because the service that sends the data resides in the System.ComponentModel.Composition.Hosting.CompositionContainer that was not initialized correctly.

View Source

OnUnhandledException(Exception)

Called when the exception is not handled by registered custom exception handlers.

Declaration
protected override void OnUnhandledException(Exception ex)
Parameters
Type Name Description
System.Exception ex

The ex.

Overrides
ExceptionHandlingFacade.OnUnhandledException(Exception)
View Source

RegisterUnHandledExceptionEventHandler()

Registers handlers to the DispatcherUnhandledException and UnhandledException events.

Declaration
public override void RegisterUnHandledExceptionEventHandler()
Overrides
ExceptionHandlingFacade.RegisterUnHandledExceptionEventHandler()
View Source

UnRegisterUnhandledExceptionEventHandler()

Unsubscribe handlers from the DispatcherUnhandledException and UnhandledException events.

Declaration
public override void UnRegisterUnhandledExceptionEventHandler()
Overrides
ExceptionHandlingFacade.UnRegisterUnhandledExceptionEventHandler()

Implements

IExceptionHandlingFacade

Extension Methods

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