ContextUtil.EnableCommit メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ContextUtil.EnableCommit メソッドの意味・解説 

ContextUtil.EnableCommit メソッド

COM+ コンテキストconsistent ビットtruedone ビットfalse設定します

名前空間: System.EnterpriseServices
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)
構文構文

Public Shared Sub EnableCommit
ContextUtil.EnableCommit
public static void EnableCommit
 ()
public:
static void EnableCommit ()
public static void EnableCommit
 ()
例外例外
例外種類条件

COMException

COM+ コンテキスト使用できません。

解説解説
使用例使用例

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 のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からContextUtil.EnableCommit メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からContextUtil.EnableCommit メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からContextUtil.EnableCommit メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

ContextUtil.EnableCommit メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ContextUtil.EnableCommit メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS