Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

EnterpriseServicesInteropOption Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

Specifies how distributed transactions interact with COM+ transactions.

Namespace: System.Transactions
Assembly: System.Transactions (in system.transactions.dll)

public enum EnterpriseServicesInteropOption
public enum EnterpriseServicesInteropOption
public enum EnterpriseServicesInteropOption
 Member nameDescription
AutomaticSearch for an existing COM+ context and synchronize with it if one exists. 
FullThe System.EnterpriseServices context (which can be retrieved by calling the static method Transaction of the ContextUtil class) and the System.Transactions ambient transaction (which can be retrieved by calling the static method Current of the Transaction class) are always synchronized. This introduces a performance penalty because new System.EnterpriseServices contexts may need to be created. 
NoneThere is no synchronization between Transaction and Current.  

The .NET Framework allows managed .NET components to participate in COM+ transactions using the classes in the System.EnterpriseServices namespace. However, since the interoperation is not provided by default, you need to use this enumeration to specify how you want to participate in the COM+ context. Specifically, when you create a new TransactionScope, use this enumeration to indicate how you want your transaction to participate in COM+ transactions. For more information, see Interoperability with Enterprise Services and COM+ Transactions.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.