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 資訊之間交換原則判斷提示的詳細資訊,請參閱 IPolicyImportExtensionIPolicyExportExtension 介面:

建構函式

ReliableSessionBindingElementImporter()

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

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

明確介面實作

IPolicyImportExtension.ImportPolicy(MetadataImporter, PolicyConversionContext)

將 WS-Reliable 訊息原則判斷提示轉換為用戶端繫結中的可靠工作階段繫結項目。

適用於