IsInTransaction Property

ContextUtil.IsInTransaction Property

Gets a value indicating whether the current context is transactional.

[Visual Basic]
Public Shared ReadOnly Property IsInTransaction As Boolean
[C#]
public static bool IsInTransaction {get;}
[C++]
public: __property static bool get_IsInTransaction();
[JScript]
public static function get IsInTransaction() : Boolean;

Property Value

true if the current context is transactional; otherwise, false.

Exceptions

Exception Type Condition
COMException There is no COM+ context available.

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:
© 2016 Microsoft