TransactionFlowBindingElementImporter 類別

定義

匯入服務端點的異動原則 (WS-Policy 判斷提示),將實作繫結程序項目新增至用戶端的繫結程序,並且將異動流程屬性新增至服務 Proxy 的適當作業。 此類別無法獲得繼承。

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

備註

服務端點必須已啟用異動流程,並且其方法必須流動異動。 轉換的原則判斷提示全都遵照 WS-Policy 判斷提示標準。

當基礎結構建置已啟用異動流程之服務的 Proxy 時,主要會使用這個類別。 呼叫 IPolicyImportExtension.ImportPolicy 方法會將 TransactionFlowBindingElement 執行個體新增至繫結項目的 PolicyConversionContext 集合,。 這也會在轉換內容合約中存在的集合上 Operations ,視需要新增 TransactionFlowAttribute 實例。

建構函式

TransactionFlowBindingElementImporter()

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

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

明確介面實作

IPolicyImportExtension.ImportPolicy(MetadataImporter, PolicyConversionContext)

匯入自訂原則判斷提示,並且新增實作繫結項目。 這個方法無法被繼承。

適用於