WebRequestHandler.ReadWriteTimeout Property

.NET Framework 4.5

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

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft