Share via


ServiceDiscoveryOptions Class

Definition

Options for service endpoint resolution.

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

Constructors

Name Description
ServiceDiscoveryOptions()

Properties

Name Description
AllowAllSchemes

Gets or sets a value indicating whether all URI schemes for URIs resolved by the service discovery system are allowed. If this value is true, all URI schemes are allowed. If this value is false, only the schemes specified in AllowedSchemes are allowed.

AllowedSchemes

Gets or sets the collection of allowed URI schemes for URIs resolved by the service discovery system when multiple schemes are specified, for example "https+http://_endpoint.service".

RefreshPeriod

Gets or sets the period between polling attempts for providers which do not support refresh notifications via ActiveChangeCallbacks.

Methods

Name Description
ApplyAllowedSchemes(IReadOnlyList<String>)

Filters the specified URI schemes to include only those that are applicable, based on the current settings.

Applies to