ContextUtil::EnableCommit Method ()
.NET Framework (current version)
Sets the consistent bit to true 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 will commit the current transaction, but the object is not deactivated on method return.
The following code example calls the EnableCommit method.
.NET Framework
Available since 1.1
Available since 1.1
Show: