Table of Contents

Method InvokeAsync

Namespace
DisCatSharp.Common.Utilities
Assembly
DisCatSharp.Common.dll

InvokeAsync(TSender, TArgs, AsyncEventExceptionMode)

Raises this event by invoking all of its registered handlers, in order of registration.

All exceptions throw during invocation will be handled by the event's registered exception handler.

public Task InvokeAsync(TSender sender, TArgs e, AsyncEventExceptionMode exceptionMode = AsyncEventExceptionMode.Default)

Parameters

sender TSender

Object which raised this event.

e TArgs

Arguments for this event.

exceptionMode AsyncEventExceptionMode

Defines what to do with exceptions caught from handlers.

Returns

Task