VCCodeModel.AbortTransaction Method
Cancels the current transaction.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
'Déclaration
Sub AbortTransaction
void AbortTransaction()
void AbortTransaction()
abstract AbortTransaction : unit -> unit
function AbortTransaction()
Remarks
When a transaction is canceled, all prior text modifications are undone, returning the source code to its original state.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.