Click here to Skip to main content
15,877,967 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

We can invoke a event handler in another thread using BeginInvoke on dot net framework.
Is there any other way to do it on Dot net core. Because dot net core dont spport invoking.
Please help on this. Thank you.

What I have tried:

var methodToInvoke = (EventHandler)eventListeners[i];
               methodToInvoke.BeginInvoke(this, args, EventTriggerComplete, null);
Updated 25-Feb-19 0:46am

1 solution

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900