DesignerAction 類別

定義

警告

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

將工作流程設計介面上的活動設計工具發生的動作與 ActivityDesigner 相關聯。 此類別無法獲得繼承。

public ref class DesignerAction sealed
public sealed class DesignerAction
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class DesignerAction
type DesignerAction = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type DesignerAction = class
Public NotInheritable Class DesignerAction
繼承
DesignerAction
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

設計工具動作是在啟動工作流程設計介面上的設計工具圖像 (Glyph) 時執行的使用者動作。 DesignerAction 類別可以用來指出您的動作。 DesignerAction 類別也可以用來透過裝飾服務加入工作項目。

建構函式

DesignerAction(ActivityDesigner, Int32, String)
已淘汰.

使用 DesignerAction、整數和字串來初始化 ActivityDesigner 類別的新執行個體。

DesignerAction(ActivityDesigner, Int32, String, Image)
已淘汰.

使用 、整數、字串和 來初始化 類別的新執行個體。

屬性

ActionId
已淘汰.

取得設計工具動作的識別項。

Image
已淘汰.

取得與設計工具動作關聯的影像。

PropertyName
已淘汰.

表示與 DesignerAction 關聯之屬性的名稱。

Text
已淘汰.

取得與設計工具動作關聯的文字。

UserData
已淘汰.

取得與設計工具動作關聯的使用者資料字典。

方法

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
Invoke()
已淘汰.

叫用與目前設計工具動作關聯的活動設計工具 OnExecuteDesignerAction(DesignerAction) 方法。

MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱