SequentialWorkflowActivity.Completed Event
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.
Occurs when the workflow has finished.
public:
event EventHandler ^ Completed;
public event EventHandler Completed;
member this.Completed : EventHandler
Public Custom Event Completed As EventHandler
Event Type
Examples
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, see Advanced Policy.
protected override void OnMethodInvoked(EventArgs e)
{
base.OnMethodInvoked(e);
Console.WriteLine("External Method Invoked.");
}
Protected Overrides Sub OnMethodInvoked(ByVal e As EventArgs)
MyBase.OnMethodInvoked(e)
Console.WriteLine("External Method Invoked.")
End Sub
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.