SequentialWorkflowActivity.Completed Event


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Occurs when the workflow has finished.

Namespace:   System.Workflow.Activities
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

public event EventHandler Completed

The following code example shows how to create a new SequentialWorkflowActivity class, and set the event handler for the Completed event. This code example is part of the Policy SDK Sample from the DiscountPolicyWorkflow.Designer.cs file. For more information, seeAdvanced Policy.

protected override void OnMethodInvoked(EventArgs e)
    Console.WriteLine("External Method Invoked.");

.NET Framework
Available since 3.0
Return to top