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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.