.NET Framework Class Library
ContextUtil.SetAbort Method

Sets the consistent bit to false and the done bit to true in the COM+ context.

[Visual Basic]
Public Shared Sub SetAbort()
[C#]
public static void SetAbort();
[C++]
public: static void SetAbort();
[JScript]
public static function SetAbort();

Exceptions

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

Remarks

If asked, the context votes to abort the current transaction, and the object is deactivated on method return.

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

Page view tracker