DesignerTransactionCloseEventArgs 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 DesignerTransactionCloseEventArgs 类的新实例。
重载
| 名称 | 说明 |
|---|---|
| DesignerTransactionCloseEventArgs(Boolean) |
已过时.
已过时.
已过时.
使用指定值初始化类的新实例 DesignerTransactionCloseEventArgs ,该值指示设计器是否在事务上调用 Commit() 。 |
| DesignerTransactionCloseEventArgs(Boolean, Boolean) |
初始化 DesignerTransactionCloseEventArgs 类的新实例。 |
DesignerTransactionCloseEventArgs(Boolean)
注意
This constructor has been deprecated. Use DesignerTransactionCloseEventArgs(bool, bool) instead.
注意
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() 。
public:
DesignerTransactionCloseEventArgs(bool commit);
[System.Obsolete("This constructor has been deprecated. Use DesignerTransactionCloseEventArgs(bool, bool) instead.")]
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);
[System.Obsolete("This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public DesignerTransactionCloseEventArgs(bool commit);
public DesignerTransactionCloseEventArgs(bool commit);
[<System.Obsolete("This constructor has been deprecated. Use DesignerTransactionCloseEventArgs(bool, bool) instead.")>]
new System.ComponentModel.Design.DesignerTransactionCloseEventArgs : bool -> System.ComponentModel.Design.DesignerTransactionCloseEventArgs
[<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
[<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
new System.ComponentModel.Design.DesignerTransactionCloseEventArgs : bool -> System.ComponentModel.Design.DesignerTransactionCloseEventArgs
Public Sub New (commit As Boolean)
参数
- commit
- Boolean
一个值,该值指示是否已提交事务。
- 属性
适用于
DesignerTransactionCloseEventArgs(Boolean, Boolean)
初始化 DesignerTransactionCloseEventArgs 类的新实例。
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
一个值,该值指示是否已提交事务。
- lastTransaction
- Boolean
true 如果这是要关闭的最后一个事务,则为否则,为 false.
注解
如果是commit,则LastTransaction属性默认为 true。true