共用方式為


HttpBindingBase.HostNameComparisonMode 屬性

定義

取得或設定值,這個值會指出在比對 URI 時此主機名稱是否會用來取用服務。

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

屬性值

HostNameComparisonMode

如果主機名稱會用來比對 URI,則為 true,否則為 false

適用於