SubordinateTransaction クラス

定義

処理を代行させることのできる非ルート トランザクションを表します。 このクラスは継承できません。

public ref class SubordinateTransaction sealed : System::Transactions::Transaction
public sealed class SubordinateTransaction : System.Transactions.Transaction
[System.Serializable]
public sealed class SubordinateTransaction : System.Transactions.Transaction
type SubordinateTransaction = class
    inherit Transaction
[<System.Serializable>]
type SubordinateTransaction = class
    inherit Transaction
Public NotInheritable Class SubordinateTransaction
Inherits Transaction
継承
SubordinateTransaction
属性

注釈

このクラスは から Transaction 派生し、 インターフェイスの実装を受け取るコンストラクターを ISimpleTransactionSuperior 提供します。 この型のインスタンスはルート トランザクションではありませんが、委任できます。

コンストラクター

SubordinateTransaction(IsolationLevel, ISimpleTransactionSuperior)

SubordinateTransaction クラスの新しいインスタンスを初期化します。

プロパティ

IsolationLevel

トランザクションの分離レベルを取得します。

(継承元 Transaction)
PromoterType

トランザクションを昇格するときに、Promote メソッドで返される byte[] の形式を一意に識別します。

(継承元 Transaction)
TransactionInformation

トランザクションの追加情報を取得します。

(継承元 Transaction)

メソッド

BeginCommitInternal(AsyncCallback)

処理を代行させることのできる非ルート トランザクションを表します。 このクラスは継承できません。

(継承元 Transaction)
Clone()

トランザクションの複製を作成します。

(継承元 Transaction)
DependentClone(DependentCloneOption)

トランザクションの依存する複製を作成します。

(継承元 Transaction)
Dispose()

オブジェクトによって保持されているリソースを解放します。

(継承元 Transaction)
EndCommitInternal(IAsyncResult)

処理を代行させることのできる非ルート トランザクションを表します。 このクラスは継承できません。

(継承元 Transaction)
EnlistDurable(Guid, IEnlistmentNotification, EnlistmentOptions)

2 フェーズ コミットをサポートし、トランザクションに参加する永続的リソース マネージャーを参加させます。

(継承元 Transaction)
EnlistDurable(Guid, ISinglePhaseNotification, EnlistmentOptions)

単一フェーズ コミットの最適化をサポートし、トランザクションに参加する永続的リソース マネージャーを参加させます。

(継承元 Transaction)
EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification)

昇格可能な単一フェーズの参加リスト (PSPE) を使用して、内部トランザクションを持つリソース マネージャーを参加させます。

(継承元 Transaction)
EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification, Guid)

昇格可能な単一フェーズの参加リスト (PSPE) を使用して、内部トランザクションを持つリソース マネージャーを参加させます。

(継承元 Transaction)
EnlistVolatile(IEnlistmentNotification, EnlistmentOptions)

トランザクションに参加する 2 フェーズ コミットをサポートしている揮発性リソース マネージャーを参加させます。

(継承元 Transaction)
EnlistVolatile(ISinglePhaseNotification, EnlistmentOptions)

単一フェーズ コミットの最適化をサポートし、トランザクションに参加する揮発性リソース マネージャーを参加させます。

(継承元 Transaction)
Equals(Object)

このトランザクションと指定したオブジェクトが等しいかどうかを判断します。

(継承元 Transaction)
GetHashCode()

このインスタンスのハッシュ コードを返します。

(継承元 Transaction)
GetPromotedToken()

トランザクションが byte[] 昇格されたときに メソッドによって Promote 返される を取得します。

(継承元 Transaction)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
PromoteAndEnlistDurable(Guid, IPromotableSinglePhaseNotification, ISinglePhaseNotification, EnlistmentOptions)

2 フェーズ コミットをサポートし、トランザクションに参加する永続的リソース マネージャーを昇格および参加させます。

(継承元 Transaction)
Rollback()

トランザクションをロールバック (中止) します。

(継承元 Transaction)
Rollback(Exception)

トランザクションをロールバック (中止) します。

(継承元 Transaction)
SetDistributedTransactionIdentifier(IPromotableSinglePhaseNotification, Guid)

MSDTC でないプロモーターによって生成される分散トランザクションの識別子を設定します。

(継承元 Transaction)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

イベント

TransactionCompleted

トランザクションが完了したことを示します。

(継承元 Transaction)

明示的なインターフェイスの実装

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

このトランザクションのシリアル化に必要なデータを含む SerializationInfo を取得します。

(継承元 Transaction)

適用対象

スレッド セーフ

この型はスレッド セーフです。