This documentation is archived and is not being maintained.

TransactionManager.RecoveryComplete Method

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)

'Declaration
Public Shared Sub RecoveryComplete ( _
	resourceManagerIdentifier As Guid _
)
'Usage
Dim resourceManagerIdentifier As Guid

TransactionManager.RecoveryComplete(resourceManagerIdentifier)
public static void RecoveryComplete (
	Guid resourceManagerIdentifier
)
public static function RecoveryComplete (
	resourceManagerIdentifier : Guid
)
Not applicable.

Parameters

resourceManagerIdentifier

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

Exception typeCondition

ArgumentNullException

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: