TMSServiceBroker.WaitTimeout Property

Used to specify the time to wait until a message arrives to the server.




property WaitTimeout: integer default - 1;


If the Receive method was called and there are no messages on the server, it will wait until at least one message arrives or WaitTimeout expires. The WaitTimeout is measured in milliseconds.

The possible values of WaitTimeout are the following:
Value Meaning
-1 Do not wait (the default value).
0 Wait for an infinite interval while at least one message arrives.
1 and more Wait for the specified interval or until a message arrives.

See Also

© 1997-2019 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback