แก้ไข

แชร์ผ่าน


DesignerTransactionCloseEventArgs Constructors

Definition

Initializes a new instance of the DesignerTransactionCloseEventArgs class.

Overloads

DesignerTransactionCloseEventArgs(Boolean)
Obsolete.
Obsolete.
Obsolete.

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)

Initializes a new instance of the DesignerTransactionCloseEventArgs class.

DesignerTransactionCloseEventArgs(Boolean)

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

Caution

This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. https://go.microsoft.com/fwlink/?linkid=14202

Caution

This constructor has been deprecated. Use DesignerTransactionCloseEventArgs(bool, bool) instead.

Caution

This constructor is obsolete. Use DesignerTransactionCloseEventArgs(bool, bool) instead. http://go.microsoft.com/fwlink/?linkid=14202

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);
[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)

Parameters

commit
Boolean

A value indicating whether the transaction was committed.

Attributes

Applies to

DesignerTransactionCloseEventArgs(Boolean, Boolean)

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

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)

Parameters

commit
Boolean

A value indicating whether the transaction was committed.

lastTransaction
Boolean

true if this is the last transaction to close; otherwise, false.

Remarks

If commit is true, the LastTransaction property defaults to true.

Applies to