WorkflowApplication.Unloaded Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the Action<T> that is invoked when the current workflow unloads.
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)
Property Value
An action that is invoked when a workflow instance is unloaded.
Examples
The following code example inspects the WorkflowApplicationEventArgs passed into the Unloaded handler of a WorkflowApplication instance and displays the InstanceId of the workflow that was unloaded.
wfApp.Unloaded = delegate(WorkflowApplicationEventArgs e)
{
Console.WriteLine("Workflow {0} unloaded.", e.InstanceId);
};
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.