HttpTransportElement.HostNameComparisonMode Property


Gets or sets a value that specifies how the hostname is used to reach the service when matching on the URI.

 property System::ServiceModel::HostNameComparisonMode HostNameComparisonMode { System::ServiceModel::HostNameComparisonMode get(); void set(System::ServiceModel::HostNameComparisonMode value); };
[System.Configuration.ConfigurationProperty("hostNameComparisonMode", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public System.ServiceModel.HostNameComparisonMode HostNameComparisonMode { get; set; }
member this.HostNameComparisonMode : System.ServiceModel.HostNameComparisonMode with get, set
Public Property HostNameComparisonMode As HostNameComparisonMode

Property Value

The HostNameComparisonMode value that specifies how the hostname is included when routing incoming requests to an endpoint URI. The default value is StrongWildcard, which ignores the hostname in the match.


Applies to