Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/Microsoft.OData.Client/DataServiceContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,11 @@ public virtual Func<string, Type> ResolveType
/// the target data service for it to have effect on the on the request.
/// The value may be changed between requests to a data service and the new value
/// will be picked up by the next data service request.
/// To configure a shared timeout for all requests, set the <see cref="HttpClientFactory"/> property
/// with an <see cref="System.Net.Http.IHttpClientFactory"/> that provides an <see cref="System.Net.Http.HttpClient"/>
/// with the desired <see cref="System.Net.Http.HttpClient.Timeout"/> value.
/// When both this property and <see cref="HttpClientFactory"/> are set, this per-request timeout takes precedence.
/// </remarks>
[Obsolete("The Timeout property is obsolete. Use IHttpClientFactory to configure the timeout.")]
public virtual int Timeout
{
get
Expand Down