Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Begins a transaction.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
'Declaration
Sub StartTransaction ( _
bstrName As String _
)
void StartTransaction(
string bstrName
)
void StartTransaction(
String^ bstrName
)
abstract StartTransaction :
bstrName:string -> unit
function StartTransaction(
bstrName : String
)
Parameters
bstrName
Type: StringRequired. The name of the transaction. This name identifies the item placed on the Undo stack after the transaction is completed.
Remarks
Call this method to start a new transaction. A transaction consists of a series of one or more modifications to an existing solution by using the Visual C++ code model. The transaction is completed when the AbortTransaction method or CommitTransaction method is called.
.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.