Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Call Method Asynchronously

$
0
0

Hi,

I have 2 method calls that I want to run simultaneously.

How do I do this and ensure the code only moves on once BOTH calls are completed?

Thanks

Reports.ExecuteReport("Item1.pdf", out xmlDoc1);
Reports.ExecuteReport("Test.pdf", out xmlDoc2);


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>