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.

適用於

另請參閱