Updated: April 27, 2016
Applies To: Windows PowerShell
Represents an active transaction. Windows PowerShell creates a Get-Transaction cmdlet. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0.object when the New-Transaction cmdlet is called the first time. (Windows PowerShell supports only one active transaction.) This object is returned by the
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Gets the type of error (such as terminating or nonterminating errors) that causes the active transaction to automatically roll back its changes. This property is introduced in Windows PowerShell 2.0.
Gets the status of the active transaction. This property is introduced in Windows PowerShell 2.0.
Releases all resources that are used by the. This method is introduced in Windows PowerShell 2.0.
Releases the unmanaged resources used by theand optionally releases the managed resources. This method is introduced in Windows PowerShell 2.0.
Destructor for the PSTransaction class (Overrides Object::Finalize().)
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.