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
[C#]
public static Guid TransactionId {get;}
[C++]
public: __property static Guid get_TransactionId();
[JScript]
public static function get TransactionId() : Guid;

Property Value

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

Exceptions

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

Remarks

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: