Share via


CompensatableTransactionScopeActivity.TransactionOptions Propriété

Définition

Obtient le WorkflowTransactionOptions associé à cette 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

Valeur de propriété

WorkflowTransactionOptions associé à cette instance.

Exemples

L'exemple suivant illustre l'accès à la propriété TransactionOptions. Cet exemple provient de l'exemple du Kit de développement logiciel (SDK) Compensation. Pour plus d’informations, consultez Exemple de compensation.

this.OrderScope.TransactionOptions.IsolationLevel = System.Transactions.IsolationLevel.Serializable;
Me.OrderScope.TransactionOptions.IsolationLevel = System.Transactions.IsolationLevel.Serializable

S’applique à

Voir aussi