WebScriptEndpointElement.HostNameComparisonMode Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies how the host name should be used in URI comparisons when dispatching an incoming message to a WebScriptEndpoint.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

[ConfigurationPropertyAttribute("hostNameComparisonMode", DefaultValue = HostNameComparisonMode.StrongWildcard)]
public HostNameComparisonMode HostNameComparisonMode { get; set; }

Property Value

Type: System.ServiceModel.HostNameComparisonMode

An enumerated description of a comparison mode.

Comparison mode settings refer to the StrongWildcard, Exact, and WeakWildcard descriptions.

.NET Framework
Available since 4.0
Return to top