Export (0) Print
Expand All

ContextUtil.Transaction Property

Gets an object describing the current COM+ DTC transaction.

[Visual Basic]
Public Shared ReadOnly Property Transaction As Object
public static object Transaction {get;}
public: __property static Object* get_Transaction();
public static function get Transaction() : Object;

Property Value

An object representing the current transaction.


Exception Type 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.

This property is available only on Windows 2000 or later. On other platforms it throws a PlatformNotSupportedException.


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

.NET Framework Security: 

See Also

ContextUtil Class | ContextUtil Members | System.EnterpriseServices Namespace

© 2015 Microsoft