共用方式為


TerminateActivity.Error 屬性

定義

收到或設定錯誤訊息,向管理員報告,說明終止原因。

public:
 property System::String ^ Error { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(true)]
public string Error { get; set; }
[<System.ComponentModel.Browsable(true)>]
member this.Error : string with get, set
Public Property Error As String

屬性值

一個錯誤訊息,說明工作流程實例終止的原因。 預設值為 null

屬性

備註

若此屬性在活動處於執行模式(該 DesignMode 屬性設為 false)時設定,則會拋出 a ReadOnlyException

此錯誤訊息的傳播由主機(實例管理器或持久化提供者)決定。

適用於