What should you do to add a CodeActivity activity named CleanupActivity for the eventDrivenActivity1 branch?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5.

The workflow has a ListenActivity activity as shown in the following exhibit. (Click the Exhibit button.)

The event handlers are bound to an ExternalDataExchange interface that defines the Approve and Decline events.
You need to add a CodeActivity activity named CleanupActivity for the eventDrivenActivity1 branch to execute when a Decline event is raised.

exhibit What should you do?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5.

The workflow has a ListenActivity activity as shown in the following exhibit. (Click the Exhibit button.)

The event handlers are bound to an ExternalDataExchange interface that defines the Approve and Decline events.
You need to add a CodeActivity activity named CleanupActivity for the eventDrivenActivity1 branch to execute when a Decline event is raised.

What should you do?

A.
Add a CancellationHandlerActivity activity to the listenActivity1 activity.
Add the CleanupActivity activity to the CancellationHandlerActivity activity.

B.
Add a CancellationHandlerActivity activity to the eventDrivenActivity1 branch.
Add the CleanupActivity activity to the CancellationHandlerActivity activity.

C.
Add a FaultHandlersActivity activity to the listenActivity1 activity.
Add a FaultHandlerActivity activity to the FaultHandlersActivity activity.
Add the CleanupActivity activity to the FaultHandlerActivity activity.

D.
Add a FaultHandlersActivity activity to the eventDrivenActivity1 branch.
Add a FaultHandlerActivity activity to the FaultHandlersActivity activity.
Add the CleanupActivity activity to the FaultHandlerActivity activity.



Leave a Reply 0

Your email address will not be published. Required fields are marked *