Gets or sets the wait time in seconds if there is currently no message available which matches the search criteria.
public int WaitTimeout {get; set;}
'Declaration
Public Property WaitTimeout As Integer
Property Value
The default value is -1 which means wait forever.