WebScriptEndpointElement.HostNameComparisonMode Property

.NET Framework (current version)

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