Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public enum class 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:
© 2017 Microsoft