TransactionContext Constructor
Initializes a new instance of the TransactionContext class.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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.