ServiceConfig.BringYourOwnTransaction 属性

定义

获取或设置一个 ITransaction,它表示一个为运行 ServiceConfig 标识的事务而提供设置的现有事务。Gets or sets a ITransaction that represents an existing transaction that supplies the settings used to run the transaction identified by ServiceConfig.

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

属性值

ITransaction

ITransactionAn ITransaction. 默认为 nullThe default is null.

注解

BringYourOwnTransaction (BYOT) 标识提供事务上下文的事务 ServiceConfigBringYourOwnTransaction (BYOT) identifies a transaction that supplies the context for the ServiceConfig transaction. 自带事务时,该事务的设置将覆盖对象中的其他事务设置 ServiceConfigWhen you bring your own transaction, that transaction's settings override the other transaction settings in the ServiceConfig object. BringYourOwnTransaction 的默认值为 nullThe default value for BringYourOwnTransaction is null.

有关 BYOT 的详细信息,请参阅 BYOTFor more information on BYOT, see BYOT.

适用于

另请参阅