TransactionFlowBindingElement 類別

定義

表示指定繫結程序之異動流程支援的組態項目。Represents the configuration element that specifies transaction flow support for a binding. 這個類別無法被繼承。This class cannot be inherited.

public ref class TransactionFlowBindingElement sealed : System::ServiceModel::Channels::BindingElement, System::ServiceModel::Description::IPolicyExportExtension
public sealed class TransactionFlowBindingElement : System.ServiceModel.Channels.BindingElement, System.ServiceModel.Description.IPolicyExportExtension
type TransactionFlowBindingElement = class
    inherit BindingElement
    interface IPolicyExportExtension
Public NotInheritable Class TransactionFlowBindingElement
Inherits BindingElement
Implements IPolicyExportExtension
繼承
TransactionFlowBindingElement
實作

備註

此元素可讓您啟用或停用端點系結設定中的傳入交易流程, 以及指定傳入交易所需的通訊協定格式。This element allows you to enable or disable incoming transaction flow in an endpoint's binding settings, as well as to specify the desired protocol format for incoming transactions.

警告

當使用 OleTransactions 通訊協定在端點之間流動交易時,如果目的端點嘗試使用任何 OleTransactions 以外的通訊協定再次流動時,交易逾時可能會遺失。When using the OleTransactions protocol to flow transactions from endpoint to endpoint, the transaction timeout can be lost if the destination endpoint attempts to flow again using any protocol other than OleTransactions. 這會導致 OleTransactions 躍點後的所有下層節點比預期的時間更晚發生逾時。This can cause all down-level nodes after the OleTransactions hop to timeout later than expected.

建構函式

TransactionFlowBindingElement()

初始化 TransactionFlowBindingElement 類別的新執行個體。Initializes a new instance of the TransactionFlowBindingElement class.

TransactionFlowBindingElement(TransactionProtocol)

使用用來流動異動的指定通訊協定,初始化 TransactionFlowBindingElement 類別的新執行個體。Initializes a new instance of the TransactionFlowBindingElement class with the specified protocol that is used to flow a transaction.

屬性

AllowWildcardAction

取得或設定是否要將萬用字元動作設定為允許在交易流程繫結項目上複製。Gets or sets whether wildcard action is set to be allowed on a transaction flow binding element to be cloned.

TransactionProtocol

取得或設定用於流動交易的交易通訊協定。Gets or sets the transaction protocol used in flowing a transaction.

方法

BuildChannelFactory<TChannel>(BindingContext)

初始化通道處理站,以便從繫結內容產生指定型別的通道。Initializes a channel factory for producing channels of a specified type from a binding context.

BuildChannelListener<TChannel>(BindingContext)

初始化通道接聽程式,以便從繫結內容接受指定型別的通道。Initializes a channel listener for accepting channels of a specified type from the binding context.

CanBuildChannelFactory<TChannel>(BindingContext)

傳回值,這個值會指出指定的繫結內容是否可以建置通道處理站,以產生指定型別的通道。Returns a value that indicates whether the specified binding context can build a channel factory for producing channels of a specified type.

CanBuildChannelListener<TChannel>(BindingContext)

傳回值,這個值會指出指定的繫結內容是否可以建置通道接聽程式,以接受指定之型別的通道。Returns a value that indicates whether the specified binding context can build a channel listener for accepting channels of a specified type.

Clone()

建立這個項目的複本。Creates a duplicate of this element.

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetProperty<T>(BindingContext)

從繫結堆疊的適當層次中,取得要求的型別物件 (如果有的話)。Gets the typed object requested, if present, from the appropriate layer in the binding stack.

GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ShouldSerializeTransactionProtocol()

傳回用於異動流程的異動通訊協定是否可以序列化。Returns whether the transaction protocol used for transaction flow can be serialized.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

明確介面實作

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

匯出關於繫結的自訂原則判斷提示。Exports a custom policy assertion about the binding.

適用於

另請參閱