.NET Framework (current version)
Gets or sets a value that specifies the amount of time after which a synchronous Receive call will time out.
System (in System.dll)
Public Property ReceiveTimeout As Integer
The time-out value, in milliseconds. The default value is 0, which indicates an infinite time-out period. Specifying -1 also indicates an infinite time-out period.
The following code example demonstrates the use of the ReceiveTimeout property.
No code example is currently available or this language may not be supported.
Return to top
Available since 2.0