Export (0) Print
Expand All
Expand Minimize

TransactionOption Enumeration

Specifies the automatic transaction type requested by the component.

[Visual Basic]
<Serializable>
Public Enum TransactionOption
[C#]
[Serializable]
public enum TransactionOption
[C++]
[Serializable]
__value public enum TransactionOption
[JScript]
public
   Serializable
enum TransactionOption

Remarks

When using the .NET Installation Tool (Regsvcs.exe), the transaction option for a ServicedComponent defaults to Disabled.

Members

Member name Description
Disabled Ignores any transaction in the current context.
NotSupported Creates the component in a context with no governing transaction.
Required Shares a transaction, if one exists, and creates a new transaction, if necessary.
RequiresNew Creates the component with a new transaction, regardless of the state of the current context.
Supported Shares a transaction, if one exists.

Requirements

Namespace: System.EnterpriseServices

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Enterpriseservices (in System.Enterpriseservices.dll)

See Also

System.EnterpriseServices Namespace

Show:
© 2014 Microsoft