DnsServiceEndpointProviderOptions.ShouldApplyHostNameMetadata Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a delegate used to determine whether to apply host name metadata to each resolved endpoint. Defaults to false
.
public Func<Microsoft.Extensions.ServiceDiscovery.ServiceEndpoint,bool> ShouldApplyHostNameMetadata { get; set; }
member this.ShouldApplyHostNameMetadata : Func<Microsoft.Extensions.ServiceDiscovery.ServiceEndpoint, bool> with get, set
Public Property ShouldApplyHostNameMetadata As Func(Of ServiceEndpoint, Boolean)