ContextUtil.EnableCommit メソッド
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)
構文
例外
解説
使用例EnableCommit メソッドを呼び出すコード例を次に示します。
<Transaction(TransactionOption.Required)> _ Public Class ContextUtil_EnableCommit Inherits ServicedComponent Public Sub Example() ' Set the consistent bit to true and the done bit to false for the ' current COM+ context. ContextUtil.EnableCommit() End Sub 'Example End Class 'ContextUtil_EnableCommit
[Transaction(TransactionOption.Required)] public class ContextUtil_EnableCommit : ServicedComponent { public void Example() { // Set the consistent bit to true and the done bit to false for the // current COM+ context. ContextUtil.EnableCommit(); } }
[Transaction(TransactionOption::Required)] public ref class ContextUtil_EnableCommit: public ServicedComponent { public: void Example() { // Set the consistent bit to true and the done bit to false for the // current COM+ context. ContextUtil::EnableCommit(); } };
/** @attribute Transaction(TransactionOption.Required) */ public class ContextUtil_EnableCommit extends ServicedComponent { public void Example() { // Set the consistent bit to true and the done bit to false for the // current COM+ context. ContextUtil.EnableCommit(); } //Example } //ContextUtil_EnableCommit
.NET Framework のセキュリティ
プラットフォームWindows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照- ContextUtil.EnableCommit メソッドのページへのリンク