ContextUtil.Transaction Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets an object describing the current COM+ DTC transaction.

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

public static object Transaction { get; }

Property Value

Type: System.Object

An object that represents the current transaction.

Exception Condition

There is no COM+ context available.


The platform is not Windows 2000 or later.

The returned object supports the ITransaction interface if the transaction is a COM+ DTC transaction.

.NET Framework
Available since 1.1
Return to top