Bagikan melalui


DesignerTransactionCloseEventArgs Konstruktor

Definisi

Menginisialisasi instans baru kelas DesignerTransactionCloseEventArgs.

Overload

DesignerTransactionCloseEventArgs(Boolean)
Kedaluwarsa.
Kedaluwarsa.
Kedaluwarsa.

Menginisialisasi instans DesignerTransactionCloseEventArgs baru kelas, menggunakan nilai yang ditentukan yang menunjukkan apakah perancang dipanggil Commit() pada transaksi.

DesignerTransactionCloseEventArgs(Boolean, Boolean)

Menginisialisasi instans baru kelas DesignerTransactionCloseEventArgs.

DesignerTransactionCloseEventArgs(Boolean)

Sumber:
DesignerTransactionCloseEventArgs.cs
Sumber:
DesignerTransactionCloseEventArgs.cs
Sumber:
DesignerTransactionCloseEventArgs.cs

Perhatian

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

Perhatian

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

Perhatian

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

Menginisialisasi instans DesignerTransactionCloseEventArgs baru kelas, menggunakan nilai yang ditentukan yang menunjukkan apakah perancang dipanggil Commit() pada transaksi.

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)

Parameter

commit
Boolean

Nilai yang menunjukkan apakah transaksi dilakukan.

Atribut

Berlaku untuk

DesignerTransactionCloseEventArgs(Boolean, Boolean)

Sumber:
DesignerTransactionCloseEventArgs.cs
Sumber:
DesignerTransactionCloseEventArgs.cs
Sumber:
DesignerTransactionCloseEventArgs.cs

Menginisialisasi instans baru kelas 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)

Parameter

commit
Boolean

Nilai yang menunjukkan apakah transaksi dilakukan.

lastTransaction
Boolean

true jika ini adalah transaksi terakhir yang ditutup; jika tidak, false.

Keterangan

Jika commit adalah true, LastTransaction properti default ke true.

Berlaku untuk