CompensatorOptions 列挙体とは? わかりやすく解説

CompensatorOptions 列挙体

CRM (Compensating Resource Manager) Compensator で受信するトランザクション完了のフェーズを制御するフラグを指定するほか、リカバリが試行された後、問題のあるトランザクションが残った場合にリカバリを失敗させるかどうかを指定します。

この列挙体には、メンバ値のビットごとの組み合わせを可能にする FlagsAttribute 属性が含まれています。

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

<SerializableAttribute> _
<FlagsAttribute> _
Public Enumeration CompensatorOptions
Dim instance As CompensatorOptions
[SerializableAttribute] 
[FlagsAttribute] 
public enum CompensatorOptions
[SerializableAttribute] 
[FlagsAttribute] 
public enum class CompensatorOptions
/** @attribute SerializableAttribute() */ 
/** @attribute FlagsAttribute() */ 
public enum CompensatorOptions
SerializableAttribute 
FlagsAttribute 
public enum CompensatorOptions
メンバメンバ
使用例使用例

この列挙体の使用方法のコード例を次に示します。

' Create a new clerk using the AccountCompensator class.
Dim clerk As New Clerk(GetType(AccountCompensator),
 "An account transaction compensator", CompensatorOptions.AllPhases)
// Create a new clerk using the AccountCompensator class.
Clerk clerk = new Clerk(typeof(AccountCompensator),
  "An account transaction compensator", CompensatorOptions.AllPhases);
// Create a new clerk using the AccountCompensator class.
Clerk^ clerk = gcnew Clerk(AccountCompensator::typeid,
    "An account transaction compensator", CompensatorOptions::AllPhases);
// Create a new clerk using the AccountCompensator class.
Clerk clerk = new Clerk(AccountCompensator.class.ToType()
,
    "An account transaction compensator",
    CompensatorOptions.AllPhases);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
System.EnterpriseServices.CompensatingResourceManager 名前空間



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

CompensatorOptions 列挙体のお隣キーワード
検索ランキング

   

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



CompensatorOptions 列挙体のページの著作権

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

©2026 GRAS Group, Inc.RSS