Search Results for

    Show / Hide Table of Contents

    Class ErrorHandler

    Error handling service.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    Service
    ErrorHandler
    Implements
    IDependencyObject
    Inherited Members
    Service.OnLoaded()
    Service.OnAttached()
    Service.OnActivated()
    Service.Start()
    Service.OnDeactivated()
    Service.OnDetach()
    Service.OnDestroy()
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.ShouldBeActivated
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Framework.Services
    Assembly: Evergine.Framework.dll
    Syntax
    public class ErrorHandler : Service, IDependencyObject

    Constructors

    ErrorHandler()

    Initializes a new instance of the ErrorHandler class.

    Declaration
    public ErrorHandler()

    Properties

    PropagateEvergineExceptions

    Gets or sets a value indicating whether the application will propagate captured exceptions.

    Declaration
    public bool PropagateEvergineExceptions { get; set; }
    Property Value
    Type Description
    bool

    ThrowBindingExceptions

    Gets or sets a value indicating whether the application throws an exception when binding errors appear.

    Declaration
    public bool ThrowBindingExceptions { get; set; }
    Property Value
    Type Description
    bool

    Methods

    CaptureException(Exception)

    Registers an exception.

    Declaration
    public virtual bool CaptureException(Exception exception)
    Parameters
    Type Name Description
    Exception exception

    The exception.

    Returns
    Type Description
    bool

    True if we want to rethrow the exception.

    Events

    OnExceptionThrown

    Event that is fired when an exception occurs. This event is always fired, even if PropagateEvergineExceptions is true.

    Declaration
    public event EventHandler<Exception> OnExceptionThrown
    Event Type
    Type Description
    EventHandler<Exception>

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX