PrepAway - Latest Free Exam Questions & Answers

Category: 70-504

Exam 70-504: TS: Microsoft .NET Framework 3.5 – Workflow

What should you do to ensure that when the OrderAmount property has a value greater than 2000?

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

The application has a workflow with two properties named OrderAmount and Discount. The workflow has two rules named SmallDiscount and BigDiscount.

The SmallDiscount rule has the following properties:

Expression = "IF this.OrderAmount > 1000 THEN this.Discount = 5" Priority = 0
Reevaluation = "Always"

The BigDiscount rule has the following properties:

Expression = "IF this.OrderAmount > 2000 THEN this.Discount = 10" Priority = 0
Reevaluation = "Always"

You need to ensure that when the OrderAmount property has a value greater than 2000, the Discount property is set to 10.

What should you do?

What should you do o ensure that corrective action is taken on work performed by the first task?

You are creating a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. The application contains a workflow that performs two tasks. The first task will complete before the second task begins. You need to ensure that corrective action is taken on work performed by the first task if an exception occurs while processing the second task. What should you do?

What should you do to ensure that the Microsoft Visual Studio 2008 designer for Windows Workflow Foundation?

You are creating a Windows Workflow Foundation custom activity class named SmtpActivity by using Microsoft .NET Framework 3.5. You create an activity designer named SmtpActivityDesigner for the custom activity. You need to ensure that the Microsoft Visual Studio 2008 designer for Windows Workflow Foundation invokes the SmtpActivityDesigner designer each time the custom activity is placed in the workflow designer window. What should you do?


Page 2 of 912345...Last »