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.
Initializes a new instance of the TransactionContext class.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Sub New
public TransactionContext()
public:
TransactionContext()
new : unit -> TransactionContext
public function TransactionContext()
Remarks
This constructor exists so that a TransactionContext can be created outside a Transaction for passing into TransactionManager.BeginTransaction. Note that the TransactionContext of the resulting transaction will not be the same object, although it will contain the same context information.
.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.