다음을 통해 공유


TransactionContext Constructor

Initializes a new instance of the TransactionContext class.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

‘선언
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

See Also

Reference

TransactionContext Class

Microsoft.VisualStudio.Modeling Namespace