nerdexam
Microsoft

70-513 · Question #270

You develop a Windows Communication Foundation (WCF) service to generate reports. Client applications call the service to initiate report generation but do not wait for the reports to be generated…

The correct answer is A. Insert the following code at line 03. D. Remove line 06. See the full explanation below for the reasoning.

Question

You develop a Windows Communication Foundation (WCF) service to generate reports. Client applications call the service to initiate report generation but do not wait for the reports to be generated. The service does not provide any status to the client applications. The service class is defined as follows. (Line numbers are included for reference only.) 01 <ServiceContract()> 02 Public Class ReportGeneratorService 04 Private Function GenerateReports( ByVal clientID As Integer) As Integer 05 & 06 Return 0 07 End Function 09 End Class You need to ensure that client applications can initiate reports without waiting for status. Which two actions should you perform (Each correct answer presents part of the solution. Choose two.)

Options

  • AInsert the following code at line 03.
  • BInsert the following code at line 03.
  • CAt line 04, change the GenerateReports method from Private to Public.
  • DRemove line 06.

How the community answered

(23 responses)
  • A
    83% (19)
  • B
    4% (1)
  • C
    13% (3)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice