Redigera

Dela via


WSDualHttpBindingElement.HostNameComparisonMode Property

Definition

Gets or sets the HTTP hostname comparison mode used to parse URIs.

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

Property Value

A valid HostNameComparisonMode value that specifies whether the hostname is used to reach the service when matching on the URI. The default value is StrongWildcard, which ignores the hostname in the match.

Attributes

Applies to