TransactionManager.RecoveryComplete Method

Note: This method is new in the .NET Framework version 2.0.

Notifies the transaction manager that a resource manager recovering from failure has finished reenlisting in all unresolved transactions.

Namespace: System.Transactions
Assembly: System.Transactions (in system.transactions.dll)

public static void RecoveryComplete (
	Guid resourceManagerIdentifier
public static void RecoveryComplete (
	Guid resourceManagerIdentifier
public static function RecoveryComplete (
	resourceManagerIdentifier : Guid



A Guid that uniquely identifies the resource to be recovered from.

Exception typeCondition


The resourceManagerIdentifier parameter is a null reference (Nothing in Visual Basic).

All durable resource managers should do recovery when they first start up by calling the Reenlist method for each outstanding transaction. Only when all of the reenlistments are done should the resource manager call RecoveryComplete.

For more information on recovery, see Performing Recovery.

Note   This method uses LinkDemand to prevent it from being called from untrusted code; however, only the immediate caller is required to possess the FullTrust permission set.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions