共用方式為


EventHubsRetryOptions.TryTimeout Property

Definition

The maximum duration to wait for completion of a single attempt, whether the initial attempt or a retry.

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

Property Value

The default timeout is 60 seconds.

Exceptions

Occurs when the requested timeout is negative.

Occurs when the requested timeout is not between Zero and 1 hour (inclusive).

Applies to