Share via


ReadTimeout Property

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

Gets or sets a value, in milliseconds, that determines how long the stream will attempt to read before timing out.

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)

Syntax

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

Property Value

Type: System. . :: . .Int32
A value, in milliseconds, that determines how long the stream will attempt to read before timing out.

.NET Framework Security

See Also

Reference

Stream Class

System.IO Namespace