SimpleMonikerResolver.OnTransactionRollback Method
Alerts listeners that the transaction has been rolled back.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
Protected Overridable Sub OnTransactionRollback ( _
sender As Object, _
args As TransactionRollbackEventArgs _
)
protected virtual void OnTransactionRollback(
Object sender,
TransactionRollbackEventArgs args
)
protected:
virtual void OnTransactionRollback(
Object^ sender,
TransactionRollbackEventArgs^ args
)
abstract OnTransactionRollback :
sender:Object *
args:TransactionRollbackEventArgs -> unit
override OnTransactionRollback :
sender:Object *
args:TransactionRollbackEventArgs -> unit
protected function OnTransactionRollback(
sender : Object,
args : TransactionRollbackEventArgs
)
Parameters
- sender
Type: System.Object
The sending object.
- args
Type: Microsoft.VisualStudio.Modeling.TransactionRollbackEventArgs
The event arguments.
.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.