PrepAway - Latest Free Exam Questions & Answers

Which code segment should you use?

You are creating a Windows Workflow Foundation workflow by using Microsoft .NET Framework 3.5. The workflow host must receive data from workflow instances by using a communication service named CustomerDataExchange. You need to configure the workflow runtime services to enable communication between the host and the workflow instances. Which code segment should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
WorkflowRuntime runtime = new WorkflowRuntime();CustomerDataExchange cde = new CustomerDataExchange();runtime.AddService(cde);

B.
WorkflowRuntime runtime = new WorkflowRuntime();CustomerDataExchange cde = new CustomerDataExchange();ExternalDataExchangeService dataService = new ExternalDataExchangeService();dataService.AddService(cde);

C.
WorkflowRuntime runtime = new WorkflowRuntime();ExternalDataExchangeService dataService = new ExternalDataExchangeService();CustomerDataExchange cde = new
CustomerDataExchange();dataService.AddService(cde);runtime.AddService(dataService);

D.
WorkflowRuntime runtime = new WorkflowRuntime();ExternalDataExchangeService dataService = new ExternalDataExchangeService();runtime.AddService(dataService);CustomerDataExchange cde = new CustomerDataExchange();dataService.AddService(cde);


Leave a Reply