IsInTransaction Property

ContextUtil.IsInTransaction Property

Gets a value indicating whether the current context is transactional.

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

Property Value

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


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


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

© 2016 Microsoft