Modifier

Partager via


WebScriptEndpointElement.HostNameComparisonMode Property

Definition

Specifies how the host name should be used in URI comparisons when dispatching an incoming message to a WebScriptEndpoint.

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

An enumerated description of a comparison mode.

Attributes

Remarks

Comparison mode settings refer to the StrongWildcard, Exact, and WeakWildcard descriptions.

Applies to