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
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.