Click here to Skip to main content
14,766,603 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

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);
Posted
Updated 25-Feb-19 1:46am

1 solution

   

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