Edit

Share via


DispatchSource.SetEventHandler(Action) Method

Definition

Specified a handler to execute when events are received on the dispatch source.

public void SetEventHandler (Action handler);
member this.SetEventHandler : Action -> unit

Parameters

handler
Action

Code to invoke when a new event is available.

Remarks

Applies to