共用方式為


TransactionBase.OnDispose Method

Definition

The dispose event occurs when the transaction is disposed of through the OnDispose method.

protected internal virtual void OnDispose ();
abstract member OnDispose : unit -> unit
override this.OnDispose : unit -> unit
Protected Friend Overridable Sub OnDispose ()

Remarks

When overriding OnDispose(), be sure to call the OnDispose method on the base class.

Applies to