Share via


DnsSrvServiceEndpointProviderOptions Class

Definition

Options for configuring Microsoft.Extensions.ServiceDiscovery.Dns.DnsSrvServiceEndpointProvider.

public class DnsSrvServiceEndpointProviderOptions
type DnsSrvServiceEndpointProviderOptions = class
Public Class DnsSrvServiceEndpointProviderOptions
Inheritance
DnsSrvServiceEndpointProviderOptions

Constructors

DnsSrvServiceEndpointProviderOptions()

Properties

DefaultRefreshPeriod

Gets or sets the default refresh period for endpoints resolved from DNS.

MaxRetryPeriod

Gets or sets the maximum period between retries.

MinRetryPeriod

Gets or sets the initial period between retries.

QuerySuffix

Gets or sets the default DNS query suffix for services resolved via this provider.

RetryBackOffFactor

Gets or sets the retry period growth factor.

ShouldApplyHostNameMetadata

Gets or sets a delegate used to determine whether to apply host name metadata to each resolved endpoint. Defaults to false.

Applies to