PrepAway - Latest Free Exam Questions & Answers

What should you do to ensure that the workflow performs the following tasks?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. The application uses a sequential workflow.

You plan to add a workflow to the application.

You need to ensure that the workflow performs the following tasks:

It listens for an event raised by the host application.
It waits only for 30 minutes for the event to be raised.

What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Add the following activities in an EventHandlingScopeActivity activity:
A DelayActivity activity that has a delay of 30 minutes
A HandleExternalEventActivity activity

B.
Add a DelayActivity activity that has a delay of 30 minutes before a HandleExternalEventActivity activity.

C.
Add a ParallelActivity activity to the workflow. Add a HandleExternalEventActivity activity to one branch of the ParallelActivity activity. Add a DelayActivity activity that has a delay of 30 minutes to the other branch.

D.
Add a ListenActivity activity to the workflow. Add a HandleExternalEventActivity activity to one branch of the ListenActivity activity. Add a DelayActivity activity that has a delay of 30 minutes to the other branch.


Leave a Reply