Share via


AsyncMulticastDelegate<TParam1>.AddHandler Method

Definition

Atomically adds a handler to the invocation list.

public void AddHandler(Func<TParam1,System.Threading.Tasks.Task> value);
member this.AddHandler : Func<'TParam1, System.Threading.Tasks.Task> -> unit
Public Sub AddHandler (value As Func(Of TParam1, Task))

Parameters

value
Func<TParam1,Task>

The handler to add.

Applies to