Search Results for

    Show / Hide Table of Contents

    Enum AsyncEventExceptionMode

    Defines the behaviour for throwing exceptions from InvokeAsync(TSender, TArgs, AsyncEventExceptionMode).

    Namespace: DisCatSharp.Common.Utilities
    Assembly: DisCatSharp.Common.dll
    Syntax
    public enum AsyncEventExceptionMode

    Fields

    Name Description
    Default

    Default mode, equivalent to HandleAll.

    HandleAll

    Defines that all exceptions should be handled by the specified exception handler. This is equivalent to combining HandleFatal and HandleNonFatal flags.

    HandleFatal

    Defines that only fatal (i.e. non-AsyncEventTimeoutException<TSender, TArgs>) exceptions should be handled by the specified exception handler.

    HandleNonFatal

    Defines that only non-fatal (i.e. AsyncEventTimeoutException<TSender, TArgs>) exceptions should be handled by the specified exception handler.

    IgnoreAll

    Defines that no exceptions should be thrown. Only exception handlers will be used.

    ThrowAll

    Defines that all exceptions should be thrown. This is equivalent to combining ThrowFatal and ThrowNonFatal flags.

    ThrowAllHandleAll

    Defines that all exceptions should be thrown and handled by the specified exception handler. This is equivalent to combining HandleAll and ThrowAll flags.

    ThrowFatal

    Defines that only fatal (i.e. non-AsyncEventTimeoutException<TSender, TArgs>) exceptions should be thrown.

    ThrowNonFatal

    Defines that only non-fatal (i.e. AsyncEventTimeoutException<TSender, TArgs>) exceptions should be thrown.

    Extension Methods

    ReflectionUtilities.ToDictionary<AsyncEventExceptionMode>()
    ExtensionMethods.GetName<AsyncEventExceptionMode>()
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems