共用方式為


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