DesignerTransactionCloseEventArgs 构造函数
定义
初始化 DesignerTransactionCloseEventArgs 类的新实例。Initializes a new instance of the DesignerTransactionCloseEventArgs class.
重载
| DesignerTransactionCloseEventArgs(Boolean) |
已过时。
已过时。
使用指示设计器是否已对事务调用 DesignerTransactionCloseEventArgs 的指定值来初始化 Commit() 类的新实例。Initializes a new instance of the DesignerTransactionCloseEventArgs class, using the specified value that indicates whether the designer called Commit() on the transaction. |
| DesignerTransactionCloseEventArgs(Boolean, Boolean) |
初始化 DesignerTransactionCloseEventArgs 类的新实例。Initializes a new instance of the DesignerTransactionCloseEventArgs class. |
DesignerTransactionCloseEventArgs(Boolean)
注意
This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. https://go.microsoft.com/fwlink/?linkid=14202
注意
This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. http://go.microsoft.com/fwlink/?linkid=14202
使用指示设计器是否已对事务调用 DesignerTransactionCloseEventArgs 的指定值来初始化 Commit() 类的新实例。Initializes a new instance of the DesignerTransactionCloseEventArgs class, using the specified value that indicates whether the designer called Commit() on the transaction.
public:
DesignerTransactionCloseEventArgs(bool commit);
[System.Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public DesignerTransactionCloseEventArgs (bool commit);
public DesignerTransactionCloseEventArgs (bool commit);
[System.Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public DesignerTransactionCloseEventArgs (bool commit);
[<System.Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
new System.ComponentModel.Design.DesignerTransactionCloseEventArgs : bool -> System.ComponentModel.Design.DesignerTransactionCloseEventArgs
new System.ComponentModel.Design.DesignerTransactionCloseEventArgs : bool -> System.ComponentModel.Design.DesignerTransactionCloseEventArgs
[<System.Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
new System.ComponentModel.Design.DesignerTransactionCloseEventArgs : bool -> System.ComponentModel.Design.DesignerTransactionCloseEventArgs
Public Sub New (commit As Boolean)
参数
- commit
- Boolean
指示事务是否已提交的值。A value indicating whether the transaction was committed.
- 属性
适用于
DesignerTransactionCloseEventArgs(Boolean, Boolean)
初始化 DesignerTransactionCloseEventArgs 类的新实例。Initializes a new instance of the DesignerTransactionCloseEventArgs class.
public:
DesignerTransactionCloseEventArgs(bool commit, bool lastTransaction);
public DesignerTransactionCloseEventArgs (bool commit, bool lastTransaction);
new System.ComponentModel.Design.DesignerTransactionCloseEventArgs : bool * bool -> System.ComponentModel.Design.DesignerTransactionCloseEventArgs
Public Sub New (commit As Boolean, lastTransaction As Boolean)
参数
- commit
- Boolean
指示事务是否已提交的值。A value indicating whether the transaction was committed.
- lastTransaction
- Boolean
如果这是最后要关闭的事务,则为 true;否则,为 false。true if this is the last transaction to close; otherwise, false.
注解
如果 commit 为 true ,则 LastTransaction 属性默认为 true 。If commit is true, the LastTransaction property defaults to true.