ContextUtil::SystemTransaction Property
.NET Framework (current version)
Gets the current transaction context.
Assembly: System.EnterpriseServices (in System.EnterpriseServices.dll)
Property Value
Type: System.Transactions::Transaction^A Transaction that represents the current transaction context.
| Exception | Condition |
|---|---|
| COMException | There is no COM+ context available. |
| PlatformNotSupportedException | The platform is not Windows 2000 or later. |
If no transaction context exists when this property is accessed, a new transaction context is created and returned.
.NET Framework
Available since 2.0
Available since 2.0
Show: