Share via


WriteTimeout Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the number of milliseconds before a time-out occurs when a write operation does not finish.

Namespace:  System.IO.Ports
Assembly:  Microsoft.SPOT.Hardware.SerialPort (in Microsoft.SPOT.Hardware.SerialPort.dll)

Syntax

'Declaration
Public Overrides Property WriteTimeout As Integer
public override int WriteTimeout { get; set; }
public:
virtual property int WriteTimeout {
    int get () override;
    void set (int value) override;
}
abstract WriteTimeout : int with get, set
override WriteTimeout : int with get, set
override function get WriteTimeout () : int
override function set WriteTimeout (value : int)

Property Value

Type: System. . :: . .Int32
The number of milliseconds before a time-out occurs. The default is InfiniteTimeout.

.NET Framework Security

See Also

Reference

SerialPort Class

System.IO.Ports Namespace