TransactionFlowBindingElement 构造函数
定义
初始化 TransactionFlowBindingElement 类的新实例。Initializes a new instance of the TransactionFlowBindingElement class.
重载
| 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. |
TransactionFlowBindingElement()
初始化 TransactionFlowBindingElement 类的新实例。Initializes a new instance of the TransactionFlowBindingElement class.
public:
TransactionFlowBindingElement();
public TransactionFlowBindingElement ();
Public Sub New ()
适用于
TransactionFlowBindingElement(TransactionProtocol)
使用指定用于对事务进行流处理的协议初始化 TransactionFlowBindingElement 类的新实例。Initializes a new instance of the TransactionFlowBindingElement class with the specified protocol that is used to flow a transaction.
public:
TransactionFlowBindingElement(System::ServiceModel::TransactionProtocol ^ transactionProtocol);
public TransactionFlowBindingElement (System.ServiceModel.TransactionProtocol transactionProtocol);
new System.ServiceModel.Channels.TransactionFlowBindingElement : System.ServiceModel.TransactionProtocol -> System.ServiceModel.Channels.TransactionFlowBindingElement
Public Sub New (transactionProtocol As TransactionProtocol)
参数
- transactionProtocol
- TransactionProtocol
一个 TransactionProtocol 值,包含对事务进行流处理时使用的事务协议。A TransactionProtocol value that contains the transaction protocol used in flowing a transaction.
注解
有关选择要使用的协议的详细信息,请参阅 启用事务流。For more information about choosing the protocol to be used, see Enabling Transaction Flow.