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
[C#]
public static object Transaction {get;}
[C++]
public: __property static Object* get_Transaction();
[JScript]
public static function get Transaction() : Object;

Property Value

An object representing the current transaction.

Exceptions

Exception Type Condition
COMException There is no COM+ context available.
PlatformNotSupportedException The platform is not Windows 2000 or later.

Remarks

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.

Requirements

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

Show:
© 2015 Microsoft