共用方式為


Diagram.OnTransactionCommitting Method

Lets derived classes perform an action when a transaction is being committed.

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

Syntax

'宣告
Public Overridable Sub OnTransactionCommitting ( _
    e As TransactionCommitEventArgs _
)
public virtual void OnTransactionCommitting(
    TransactionCommitEventArgs e
)
public:
virtual void OnTransactionCommitting(
    TransactionCommitEventArgs^ e
)
abstract OnTransactionCommitting : 
        e:TransactionCommitEventArgs -> unit 
override OnTransactionCommitting : 
        e:TransactionCommitEventArgs -> unit 
public function OnTransactionCommitting(
    e : TransactionCommitEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace