You are creating a Windows Workflow Foundation custom activity by using Microsoft .NET Framework 3.5.
The custom activity has the following features:
It uses a voting process.
It completes execution after the receipt of a Yes or a No vote from an end user.
The voting process is managed by a local service of type VotingService. The voting process can take 15 to 20 days.
You need to ensure that the VotingService service informs the custom activity when a vote is received.
What should you do?
A.
Implement the VotingService service to invoke a method in the custom activity and pass the voting data as a workflow parameter.
B.
Implement the VotingService service to schedule the custom activity to execute and pass the voting data as a workflow parameter.
C.
Implement the VotingService service to enqueue the voting data in a workflow queue that was configured by the custom activity.
D.
Create a dependency property in the custom activity for the voting data. Implement the VotingService service to configure the dependency property when data is received.