DesignerTransactionCloseEventArgs 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 DesignerTransactionCloseEventArgs 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| 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 , true則 LastTransaction 屬性預設為 true。