ConnectionPolicy.MediaRequestTimeout Property


Gets or sets the media 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 for attachment content (a.k.a. media) operations.

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

Property Value


Default value is 300 seconds.

Applies to