TransactionFlowOption Enumeration

 

An enumeration that is used with the TransactionFlowAttribute to specify the transaction flow policy for a service operation.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

type TransactionFlowOption

Member nameDescription
Allowed

Transaction may be flowed.

Mandatory

Transaction must be flowed.

NotAllowed

A transaction should not be flowed. This is the default value.

This enumeration is used to instantiate an instance of the TransactionFlowAttribute class, which is used to mark a service contract method to indicate its transaction flow policy.

The following code example demonstrates the use of this enumeration together with the TransactionFlowOption class at the operation level.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0

System.ServiceModel Namespace
Enabling Transaction Flow

Return to top
Show: