WebHttpEndpointElement.HostNameComparisonMode Property

.NET Framework (current version)

Gets or sets the web service host name and URI matching rule that is configured in the binding element and used by transports such as HTTP, TCP, and named pipes when dispatching incoming messages.

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 comparison mode.

.NET Framework
Available since 4.0
Return to top