Share via


HttpClientRequestMessage.ReadWriteTimeout Property

Definition

Caution

Use Timeout property instead. Read and write timeout not supported by HttpClient used internally.

HttpClientRequestMessage internally uses HttpClient class to Send HTTP requests and receive responses from a resource identified by the specified URI. HttpClient class does not support read and write timeout. Currently, this property just sets theTimeout value. It is retained for backward compatibility and will be dropped in a future major release.

[System.Obsolete("Use Timeout property instead. Read and write timeout not supported by HttpClient used internally.")]
public override int ReadWriteTimeout { get; set; }
[<System.Obsolete("Use Timeout property instead. Read and write timeout not supported by HttpClient used internally.")>]
member this.ReadWriteTimeout : int with get, set
Public Overrides Property ReadWriteTimeout As Integer

Property Value

Attributes

Applies to