NetTcpBinding.TransactionProtocol 属性

定义

获取或设置服务在对事务进行流处理时使用的事务处理协议。Gets or sets the transactions protocol used by the service to flow transactions.

public:
 property System::ServiceModel::TransactionProtocol ^ TransactionProtocol { System::ServiceModel::TransactionProtocol ^ get(); void set(System::ServiceModel::TransactionProtocol ^ value); };
public System.ServiceModel.TransactionProtocol TransactionProtocol { get; set; }
member this.TransactionProtocol : System.ServiceModel.TransactionProtocol with get, set
Public Property TransactionProtocol As TransactionProtocol

属性值

服务在对事务进行流处理时使用的 TransactionProtocolThe TransactionProtocol used by the service to flow transactions.

示例

此示例演示如何获取 TransactionProtocol 值。This example shows how to get the TransactionProtocol value.

TransactionProtocol transactionProtocol =
    binding.TransactionProtocol;

适用于