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

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

ContextUtil.DisableCommit メソッド

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

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

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

COMException

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

解説解説
使用例使用例

DisableCommit メソッド呼び出すコード例次に示します

<Transaction(TransactionOption.Required)>  _
Public Class ContextUtil_DisableCommit
    Inherits ServicedComponent
    
    Public Sub Example() 
        ' Set both the consistent bit and the done bit to false for
 the
        ' current COM+ context.
        ContextUtil.DisableCommit()
    
    End Sub 'Example
End Class 'ContextUtil_DisableCommit
[Transaction(TransactionOption.Required)]
public class ContextUtil_DisableCommit : ServicedComponent
{
    public void Example()
    {
        // Set both the consistent bit and the done bit to false for
 the
        // current COM+ context.
        ContextUtil.DisableCommit();
    }
}
[Transaction(TransactionOption::Required)]
public ref class ContextUtil_DisableCommit:
 public ServicedComponent
{
public:
   void Example()
   {
      // Set both the consistent bit and the done bit to false for the
      // current COM+ context.
      ContextUtil::DisableCommit();
   }
};
/** @attribute Transaction(TransactionOption.Required)
 */
public class ContextUtil_DisableCommit extends
 ServicedComponent
{
    public void Example()
    {
        // Set both the consistent bit and the done bit to false for
 the
        // current COM+ context.
        ContextUtil.DisableCommit();
    } //Example
} //ContextUtil_DisableCommit
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS