Gets or sets the wait time in seconds if there is currently no message available which matches the search criteria.
'Declaration
Public Property WaitTimeout As Integer
public int WaitTimeout {get; set;}
Property Value
The default value is -1 which means wait forever.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2