Verifies whether there is a new top-level transaction.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Protected Overridable Sub OnTopLevelTransactionBeginning ( _
topLevelTransaction As Transaction _
)
'使用
Dim topLevelTransaction As Transaction
Me.OnTopLevelTransactionBeginning(topLevelTransaction)
protected virtual void OnTopLevelTransactionBeginning(
Transaction topLevelTransaction
)
protected:
virtual void OnTopLevelTransactionBeginning(
Transaction^ topLevelTransaction
)
protected function OnTopLevelTransactionBeginning(
topLevelTransaction : Transaction
)
Parameters
topLevelTransaction
Type: Microsoft.VisualStudio.Modeling.TransactionThe top-level transaction.
Remarks
This method is called when the moniker resolver monitors a new top-level transaction.
Permissions
- 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.