Share via


HttpSelfHostConfiguration.HostNameComparisonMode Property

 

Gets a value that specifies how the host name should be used in URI comparisons when dispatching an incoming message.

Namespace:   System.Web.Http.SelfHost
Assembly:  System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)

Syntax

public HostNameComparisonMode HostNameComparisonMode { get; set; }
public:
property HostNameComparisonMode HostNameComparisonMode {
    HostNameComparisonMode get();
    void set(HostNameComparisonMode value);
}
member HostNameComparisonMode : HostNameComparisonMode with get, set
Public Property HostNameComparisonMode As HostNameComparisonMode

Property Value

Type: System.ServiceModel.HostNameComparisonMode

One of the values of the HostNameComparisonMode enumeration.

See Also

HttpSelfHostConfiguration Class
System.Web.Http.SelfHost Namespace

Return to top