ISimpleWorkItem 介面

定義

代表的工作項目,除了執行上下文外,不需要額外使用者輸入。

public interface class ISimpleWorkItem : System::ComponentModel::INotifyPropertyChanged
public interface ISimpleWorkItem : System.ComponentModel.INotifyPropertyChanged
type ISimpleWorkItem = interface
    interface INotifyPropertyChanged
Public Interface ISimpleWorkItem
Implements INotifyPropertyChanged
實作

屬性

名稱 Description
Excluded

判斷目前的工作項目是否應該被排除在處理之外。

ExecutionError

取得詳細的錯誤資訊。

ExecutionErrorMessage

會收到錯誤訊息。

Name

取得工作項目的顯示名稱。

State

會取得工作項目狀態。

StateImage

取得代表狀態的影像。

StateText

會取得當地化的州文字。

方法

名稱 Description
Abort()

中止該工作項目。

Initialize(ITaskManager, IContext)

利用提供的上下文初始化工作項目。 如果上下文與工作項目類型不相容,初始化可以回傳 false,該項目會被忽略。

Reset()

將工作項目重置為待處理狀態。

Run()

執行工作項目。

Script(ISfcScriptCollector)

腳本就是工作項目。

適用於