ReadWriteTimeout Property

WebRequestHandler.ReadWriteTimeout Property

.NET Framework (current version)
 

Gets or sets a time-out in milliseconds when writing a request to or reading a response from a server.

Namespace:   System.Net.Http
Assembly:  System.Net.Http.WebRequest (in System.Net.Http.WebRequest.dll)

public int ReadWriteTimeout { get; set; }

Property Value

Type: System.Int32

Returns Int32.

The number of milliseconds before the writing or reading times out. The default value is 300,000 milliseconds (5 minutes).

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft