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