你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CosmosClientOptions.RequestTimeout Property

Definition

Gets the request timeout in seconds when connecting to the Azure Cosmos DB service. The number specifies the time to wait for response to come back from network peer.

public TimeSpan RequestTimeout { get; set; }
member this.RequestTimeout : TimeSpan with get, set
Public Property RequestTimeout As TimeSpan

Property Value

Default value is 6 seconds.

Applies to

See also