CompensatableTransactionScopeActivity.TransactionOptions Propriedade
Definição
Obtém o WorkflowTransactionOptions associado a esta instância.Gets the WorkflowTransactionOptions associated with this instance.
public:
property System::Workflow::ComponentModel::WorkflowTransactionOptions ^ TransactionOptions { System::Workflow::ComponentModel::WorkflowTransactionOptions ^ get(); void set(System::Workflow::ComponentModel::WorkflowTransactionOptions ^ value); };
public System.Workflow.ComponentModel.WorkflowTransactionOptions TransactionOptions { get; set; }
member this.TransactionOptions : System.Workflow.ComponentModel.WorkflowTransactionOptions with get, set
Public Property TransactionOptions As WorkflowTransactionOptions
Valor da propriedade
O WorkflowTransactionOptions associado a esta instância.The WorkflowTransactionOptions associated with this instance.
Exemplos
O exemplo a seguir demonstra o acesso à Propriedade TransactionOptions.The following example demonstrates accessing the TransactionOptions property. Este exemplo é do exemplo de SDK de compensação.This example is from the Compensation SDK sample. Para obter mais informações, consulte exemplo de compensação.For more information, see Compensation Sample.
this.OrderScope.TransactionOptions.IsolationLevel = System.Transactions.IsolationLevel.Serializable;
Me.OrderScope.TransactionOptions.IsolationLevel = System.Transactions.IsolationLevel.Serializable