Editar

Partilhar via


TransactionScopeAsyncFlowOption Enum

Definition

Specifies whether transaction flow across thread continuations is enabled for TransactionScope.

public enum class TransactionScopeAsyncFlowOption
public enum TransactionScopeAsyncFlowOption
type TransactionScopeAsyncFlowOption = 
Public Enum TransactionScopeAsyncFlowOption
Inheritance
TransactionScopeAsyncFlowOption

Fields

Name Value Description
Suppress 0

Specifies that transaction flow across thread continuations is suppressed. This is the default setting if no TransactionScopeAsyncFlowOption is specified in the TransactionScope constructor.

Enabled 1

Specifies that transaction flow across thread continuations is enabled.

Remarks

TransactionScopeAsyncFlowOption is configured in the TransactionScope.TransactionScope overloads that take a TransactionScopeAsyncFlowOption parameter. Suppress is the default setting if no TransactionScopeAsyncFlowOption is specified.

Applies to