ContextUtil.Transaction Property

 

Gets an object describing the current COM+ DTC transaction.

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

Public Shared ReadOnly Property Transaction As Object

Property Value

Type: System.Object

An object that represents the current transaction.

Exception Condition
COMException

There is no COM+ context available.

PlatformNotSupportedException

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
Show: