Search Results for

    Show / Hide Table of Contents

    Delegate AsyncEventExceptionHandler<TSender, TArgs>

    Handles any exception raised by an AsyncEvent<TSender, TArgs> or its handlers.

    Namespace: DisCatSharp.Common.Utilities
    Assembly: DisCatSharp.Common.dll
    Syntax
    public delegate void AsyncEventExceptionHandler<TSender, TArgs>(AsyncEvent<TSender, TArgs> asyncEvent, Exception exception, AsyncEventHandler<TSender, TArgs> handler, TSender sender, TArgs eventArgs)
        where TArgs : AsyncEventArgs;
    Parameters
    Type Name Description
    AsyncEvent<TSender, TArgs> asyncEvent

    Asynchronous event which threw the exception.

    System.Exception exception

    Exception that was thrown

    AsyncEventHandler<TSender, TArgs> handler

    Handler which threw the exception.

    TSender sender

    Object which dispatched the event.

    TArgs eventArgs

    Arguments with which the event was dispatched.

    Type Parameters
    Name Description
    TSender

    Type of the object that dispatches this event.

    TArgs

    Type of the object which holds arguments for this event.

    Extension Methods

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