Try OpenEdge Now
skip to main content
.NET Open Clients
Accessing Proxy Properties : Accessing properties directly : Thread control property
 

Thread control property

The AppServer can be accessed from a multi-threaded client. However, the AppServer itself is not multi-threaded. As a result, only one request can be serviced at a time. If a method is made from the client while another one is still running on the AppServer, the application can decide which of the following should happen:
*The second call can be queued and executed when the AppServer becomes available
*The client can get an exception
The application can set the run-time properties to do either and can switch the setting at any time. The default is to throw an exception (WaitIfBusy=false).
The property in the following table provides thread control to the Open Client Runtime. For a detailed description of this property, see Alphabeticallisting of properties.
Table 19. Thread control property
Property
Description/Property
WaitIfBusy