Alerts listeners that the transaction has been rolled back.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Protected Overridable Sub OnTransactionRollback ( _
sender As Object, _
args As TransactionRollbackEventArgs _
)
'使用
Dim sender As Object
Dim args As TransactionRollbackEventArgs
Me.OnTransactionRollback(sender, _
args)
protected virtual void OnTransactionRollback(
Object sender,
TransactionRollbackEventArgs args
)
protected:
virtual void OnTransactionRollback(
Object^ sender,
TransactionRollbackEventArgs^ args
)
protected function OnTransactionRollback(
sender : Object,
args : TransactionRollbackEventArgs
)
Parameters
sender
Type: System.ObjectThe sending object.
args
Type: Microsoft.VisualStudio.Modeling.TransactionRollbackEventArgsThe event arguments.
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.