WorkflowApplication.Unloaded プロパティ

定義

現在のワークフローがアンロードされると呼び出される Action<T> を取得または設定します。

public:
 property Action<System::Activities::WorkflowApplicationEventArgs ^> ^ Unloaded { Action<System::Activities::WorkflowApplicationEventArgs ^> ^ get(); void set(Action<System::Activities::WorkflowApplicationEventArgs ^> ^ value); };
public Action<System.Activities.WorkflowApplicationEventArgs> Unloaded { get; set; }
member this.Unloaded : Action<System.Activities.WorkflowApplicationEventArgs> with get, set
Public Property Unloaded As Action(Of WorkflowApplicationEventArgs)

プロパティ値

ワークフロー インスタンスがアンロードされると呼び出されるアクション。

WorkflowApplicationEventArgs インスタンスの Unloaded ハンドラーに渡される WorkflowApplication を調べ、アンロードされたワークフローの InstanceId を表示するコード サンプルを次に示します。

wfApp.Unloaded = delegate(WorkflowApplicationEventArgs e)
{
    Console.WriteLine("Workflow {0} unloaded.", e.InstanceId);
};

適用対象