WSDualHttpBinding.TransactionFlow 属性
定义
获取或设置一个值,该值指示此绑定是否应支持流动 WS-Transactions。Gets or sets a value that indicates whether this binding should support flowing WS-Transactions.
public:
property bool TransactionFlow { bool get(); void set(bool value); };
public bool TransactionFlow { get; set; }
member this.TransactionFlow : bool with get, set
Public Property TransactionFlow As Boolean
属性值
如果支持事务的流动,则为 true;否则为 false。true if the flowing of transactions is supported; otherwise, false. 默认值是 false。The default value is false.
示例
下面的示例演示如何设置 TransactionFlow 属性以支持事务的流动。The following example shows how to set the TransactionFlow property to support the flowing of transactions.
binding.TransactionFlow = true;
binding.TransactionFlow = True
注解
默认值指定客户端不对事务进行流处理,并且服务拒绝带有流事务消息头的消息。The default value specifies that clients do not flow transactions and services reject messages with a flowed transaction message header.