Version

UndoTransaction Constructor

Initializes a new UndoTransaction
Syntax
'Declaration
 
Protected Friend Function New( _
   ByVal description As String, _
   ByVal detailedDescription As String _
)
protected internal UndoTransaction( 
   string description,
   string detailedDescription
)

Parameters

description
The description for the transaction or null to provide a default one.
detailedDescription
The detailed description for the transaction or null to provide a default one.
Remarks

A transaction is typically created by using the StartTransaction(String,String). The control is exposed in case a derived transaction class is needed in which case one would need a derived UndoUnitFactory where the UndoUnitFactory.CreateTransaction method is overriden and then an instance of that factory class is set on either the UndoUnitFactory.Current or the UndoUnitFactory properties.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also