語言

ReliableSessionBindingElementImporter 類別

定義

可靠會話綁定元素與其對應政策斷言的元資料表示與連結。 此類別無法獲得繼承。

public ref class ReliableSessionBindingElementImporter sealed : System::ServiceModel::Description::IPolicyImportExtension
public sealed class ReliableSessionBindingElementImporter : System.ServiceModel.Description.IPolicyImportExtension
type ReliableSessionBindingElementImporter = class
    interface IPolicyImportExtension
Public NotInheritable Class ReliableSessionBindingElementImporter
Implements IPolicyImportExtension
繼承
ReliableSessionBindingElementImporter
實作

備註

Windows Communication Foundation(WCF)使用此類別將可靠的會話綁定元素匯入到元資料中的綁定政策斷言中。 此類別會取得可靠的會話綁定元素,並在服務上將自訂的政策斷言寫入 WSDL 檔案。 在客戶端,它會尋找這些斷言,並將相應的綁定元素插入客戶端綁定中。 請注意,綁定中可靠會話的存在會以 WS-Reliable 訊息政策規範中描述的可靠訊息斷言來呈現。

欲了解更多關於綁定間交換政策斷言與 WSDL 資訊,請參閱與IPolicyImportExtension介面:IPolicyExportExtension

建構函式

名稱 Description
ReliableSessionBindingElementImporter()

初始化 ReliableSessionBindingElementImporter 類別的新執行個體。

方法

名稱 Description
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

明確介面實作

名稱 Description
IPolicyImportExtension.ImportPolicy(MetadataImporter, PolicyConversionContext)

將 WS-Reliable 訊息政策斷言轉換成客戶端綁定中的可靠會話綁定元素。

適用於