ConnectionOrientedTransportBindingElement.HostNameComparisonMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the hostname is used to reach the service when matching on the URI.
public System.ServiceModel.HostNameComparisonMode HostNameComparisonMode { get; set; }
member this.HostNameComparisonMode : System.ServiceModel.HostNameComparisonMode with get, set
Public Property HostNameComparisonMode As HostNameComparisonMode
Property Value
Returns a HostNameComparisonMode that determines whether the hostname is used to reach the service. The default value is StrongWildCard, which ignores the hostname and port number in the comparison.
Exceptions
The value is not a valid HostnameComparisonMode.
Applies to
Azure SDK for .NET