Export (0) Print
Expand All

WebScriptEndpointElement.HostNameComparisonMode Property

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

Supported in: 4.6, 4.5, 4
© 2015 Microsoft