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