DesignerTransactionCloseEventArgs 构造函数

定义

初始化 DesignerTransactionCloseEventArgs 类的新实例。

重载

DesignerTransactionCloseEventArgs(Boolean)
已过时.
已过时.
已过时.

使用指示设计器是否已对事务调用 DesignerTransactionCloseEventArgs 的指定值来初始化 Commit() 类的新实例。

DesignerTransactionCloseEventArgs(Boolean, Boolean)

初始化 DesignerTransactionCloseEventArgs 类的新实例。

DesignerTransactionCloseEventArgs(Boolean)

Source:
DesignerTransactionCloseEventArgs.cs
Source:
DesignerTransactionCloseEventArgs.cs
Source:
DesignerTransactionCloseEventArgs.cs

注意

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)

Source:
DesignerTransactionCloseEventArgs.cs
Source:
DesignerTransactionCloseEventArgs.cs
Source:
DesignerTransactionCloseEventArgs.cs

初始化 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

注解

如果 committrue,则 LastTransaction 属性默认为 true

适用于