DesignerTransaction.Commit 方法

定义

提交此事务。Commits this transaction.

public:
 void Commit();
public void Commit ();
member this.Commit : unit -> unit
Public Sub Commit ()

注解

提交设计器事务时,该事务将被视为已完成,并且不会跟踪进一步的更改。When a designer transaction is committed, the transaction is considered complete and does not track further changes.

提交事务后,进一步调用此方法不会执行任何操作。Once a transaction has been committed, further calls to this method do nothing. 创建事务后始终调用此方法,以确保事务正常关闭。Always call this method after creating a transaction to ensure that the transaction closes properly.

适用于

另请参阅