CompensatableTransactionScopeActivity.TransactionOptions Eigenschaft

Definition

Ruft den WorkflowTransactionOptions ab, der dieser Instanz zugeordnet ist.

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

Eigenschaftswert

Die WorkflowTransactionOptions, die dieser Instanz zugeordnet ist.

Beispiele

Im folgenden Beispiel wird das Zugreifen auf die TransactionOptions-Eigenschaft beschrieben. Dieses Beispiel stammt aus dem Compensation SDK-Beispiel. Weitere Informationen finden Sie unter Vergütungsbeispiel.

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

Gilt für:

Weitere Informationen