This documentation is archived and is not being maintained.

ContextUtil.TransactionId Property

Gets the GUID of the current COM+ DTC transaction.

[Visual Basic]
Public Shared ReadOnly Property TransactionId As Guid
public static Guid TransactionId {get;}
public: __property static Guid get_TransactionId();
public static function get TransactionId() : Guid;

Property Value

A GUID representing the current COM+ DTC transaction, if one exists.


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


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