This topic has not yet been rated - Rate this topic

ConnectionOrientedTransportBindingElement.HostNameComparisonMode Property

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

Namespace:  Microsoft.ServiceBus.Channels
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public HostNameComparisonMode HostNameComparisonMode { get; set; }

Property Value

Type: System.ServiceModel.HostNameComparisonMode
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.
Exception Condition
[ArguementOutOfRangeException]

The value is not a valid HostnameComparisonMode.

Did you find this helpful?
(1500 characters remaining)