System.Messaging Reference (Document! X Sample)
InfiniteTimeout Field (MessageQueue)



System.Messaging Namespace > MessageQueue Class : InfiniteTimeout Field
Specifies that no time-out exists for methods that peek or receive messages.
Syntax
'Declaration
 
Public Shared ReadOnly InfiniteTimeout As TimeSpan
'Usage
 
Dim value As TimeSpan
 
value = MessageQueue.InfiniteTimeout
public static readonly TimeSpan InfiniteTimeout
public:
static readonly TimeSpan InfiniteTimeout
Requirements

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

See Also

Reference

MessageQueue Class
MessageQueue Members