Compartilhar via


ConfigurationServiceEndpointProviderOptions Class

Definition

Options for Microsoft.Extensions.ServiceDiscovery.Configuration.ConfigurationServiceEndpointProvider.

public sealed class ConfigurationServiceEndpointProviderOptions
type ConfigurationServiceEndpointProviderOptions = class
Public NotInheritable Class ConfigurationServiceEndpointProviderOptions
Inheritance
ConfigurationServiceEndpointProviderOptions

Constructors

ConfigurationServiceEndpointProviderOptions()

Properties

SectionName

The name of the configuration section which contains service endpoints. Defaults to "Services".

ShouldApplyHostNameMetadata

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

Applies to