Waiting for an asynchronous response?

I am developing multi-user / server software in C #. Right now I am using it as asynchronous.

In some cases, I want the client side to wait for a response.

For example, I need to send a server to a team to get me some information from the database, and the client program should continue in accordance with the data received. How can i achieve this?

+3
source share
1 answer

You can wait IAsyncResult.WaitHandleif this interface is used in your script.

+1
source

All Articles