ServiceMetadataBehavior.HttpsGetBinding 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個綁定,用於在傳輸為 HTTPS 時設定元資料檢索。
public:
property System::ServiceModel::Channels::Binding ^ HttpsGetBinding { System::ServiceModel::Channels::Binding ^ get(); void set(System::ServiceModel::Channels::Binding ^ value); };
public System.ServiceModel.Channels.Binding HttpsGetBinding { get; set; }
member this.HttpsGetBinding : System.ServiceModel.Channels.Binding with get, set
Public Property HttpsGetBinding As Binding
屬性值
Binding A可用於透過HTTPS協定擷取元資料。
備註
在先前的 WCF 版本中,元資料檢索是透過 HTTP GET 透過網頁瀏覽器存取服務說明頁面完成的。 只有 the HttpTransportBindingElement 得到了支持。 在使用 HTTPS GET 進行元資料檢索時,僅支援 。HttpsTransportBindingElement HttpGetBinding 與 HttpsGetBinding 屬性允許使用 HTTP GET(或 HTTPS GET)進行元資料檢索的綁定,並允許用於存取服務網頁的綁定可設定,無論是程式化或設定檔。
如需更多關於檢索幫助頁面的資訊,請使用 HttpHelpPageBinding 與 HttpsHelpPageBinding 屬性。