TransactionAttribute コンストラクタとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > TransactionAttribute コンストラクタの意味・解説 

TransactionAttribute コンストラクタ

TransactionAttribute クラス新しインスタンス初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
TransactionAttribute () TransactionAttribute クラス新しインスタンス初期化して要求されコンポーネントトランザクション タイプRequired設定します
TransactionAttribute (TransactionOption) TransactionAttribute クラス新しインスタンス初期化してトランザクション タイプ指定します
参照参照

関連項目

TransactionAttribute クラス
TransactionAttribute メンバ
System.EnterpriseServices 名前空間

TransactionAttribute コンストラクタ (TransactionOption)

TransactionAttribute クラス新しインスタンス初期化してトランザクション タイプ指定します

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

Public Sub New ( _
    val As TransactionOption _
)
Dim val As TransactionOption

Dim instance As New TransactionAttribute(val)
public TransactionAttribute (
    TransactionOption val
)
public:
TransactionAttribute (
    TransactionOption val
)
public TransactionAttribute (
    TransactionOption val
)
public function TransactionAttribute (
    val : TransactionOption
)

パラメータ

val

指定されトランザクション タイプ (TransactionOption 値)。

使用例使用例

新しTransactionAttribute作成するコード例次に示します

<Transaction(TransactionOption.Supported)>  _
Public Class TransactionAttribute_Ctor_TransactionOption
    Inherits ServicedComponent
End Class 'TransactionAttribute_Ctor_TransactionOption

<Transaction(TransactionOption.Supported, Isolation := TransactionIsolationLevel.Serializable)>
  _
Public Class TransactionAttribute_Ctor_TransactionOption_Isolation
    Inherits ServicedComponent
End Class 'TransactionAttribute_Ctor_TransactionOption_Isolation

<Transaction(TransactionOption.Supported, Isolation := TransactionIsolationLevel.Serializable,
 Timeout := 30)>  _
Public Class TransactionAttribute_Ctor_TransactionOption_Isolation_Timeout
    Inherits ServicedComponent
End Class 'TransactionAttribute_Ctor_TransactionOption_Isolation_Timeout
[Transaction(TransactionOption.Supported)]
public class TransactionAttribute_Ctor_TransactionOption
 : ServicedComponent
{
}

[Transaction(TransactionOption.Supported,
     Isolation=TransactionIsolationLevel.Serializable)]
public class TransactionAttribute_Ctor_TransactionOption_Isolation
 :
    ServicedComponent
{
}

[Transaction(TransactionOption.Supported,
     Isolation=TransactionIsolationLevel.Serializable,
     Timeout=30)]
public class TransactionAttribute_Ctor_TransactionOption_Isolation_Timeout
 :
     ServicedComponent
{
}
/** @attribute Transaction(TransactionOption.Supported)
 */
public class TransactionAttribute_Ctor_TransactionOption
 extends ServicedComponent
{
} //TransactionAttribute_Ctor_TransactionOption

/** @attribute Transaction(TransactionOption.Supported, Isolation = 
    TransactionIsolationLevel.Serializable)
 */
public class TransactionAttribute_Ctor_TransactionOption_Isolation
 
    extends ServicedComponent
{
} //TransactionAttribute_Ctor_TransactionOption_Isolation

/** @attribute Transaction(TransactionOption.Supported, Isolation = 
    TransactionIsolationLevel.Serializable, Timeout = 30)
 */
public class TransactionAttribute_Ctor_TransactionOption_Isolation_Timeout
 
    extends ServicedComponent
{
} //TransactionAttribute_Ctor_TransactionOption_Isolation_Timeout
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

TransactionAttribute コンストラクタ ()

TransactionAttribute クラス新しインスタンス初期化して要求されコンポーネントトランザクション タイプRequired設定します

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

Dim instance As New TransactionAttribute
public TransactionAttribute ()
public:
TransactionAttribute ()
public TransactionAttribute ()
public function TransactionAttribute ()
使用例使用例

新しTransactionAttribute作成するコード例次に示します

<Transaction()>  _
Public Class TransactionAttribute_Ctor
    Inherits ServicedComponent
End Class 'TransactionAttribute_Ctor
[Transaction]
public class TransactionAttribute_Ctor : ServicedComponent
{
}
/** @attribute Transaction()
 */
public class TransactionAttribute_Ctor extends
 ServicedComponent
{
} //TransactionAttribute_Ctor
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


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

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

辞書ショートカット

すべての辞書の索引

「TransactionAttribute コンストラクタ」の関連用語

TransactionAttribute コンストラクタのお隣キーワード
検索ランキング

   

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



TransactionAttribute コンストラクタのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS