DnsResolverOptions.Timeout Property

Definition

Gets or sets the maximum duration per attempt to wait before timing out.

public:
 property TimeSpan Timeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan Timeout { get; set; }
member this.Timeout : TimeSpan with get, set
Public Property Timeout As TimeSpan

Property Value

Remarks

The maximum time for resolving a query is MaxAttempts * Servers count * Timeout.

Applies to