System.IO.Ports.SerialPort.InfiniteTimeout Field

Indicates that no time-out should occur.

Value: -1

Syntax

public const int InfiniteTimeout

Remarks

This value is used with the SerialPort.ReadTimeout and SerialPort.WriteTimeout properties.

Requirements

Namespace: System.IO.Ports
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0