ContextUtil::DisableCommit Method ()
.NET Framework (current version)
Sets both the consistent bit and the done bit to false in the COM+ context.
Assembly: System.EnterpriseServices (in System.EnterpriseServices.dll)
| Exception | Condition |
|---|---|
| COMException | No COM+ context is available. |
If asked, the COM+ context votes to abort the current transaction, but the object is not deactivated on method return.
The following code example calls the DisableCommit method.
.NET Framework
Available since 1.1
Available since 1.1
Show: