DispatchSource.SetEventHandler(Action) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.