nerdexam
Microsoft

70-513 · Question #152

A service implements the following contract. (Line numbers are included for reference only.) The service is implemented as follows. ContosoService uses NetMsmqBinding to listen for messages. The…

The correct answer is B. Insert the following attribute to OperationOne on ContosoService. See the full explanation below for the reasoning.

Question

A service implements the following contract. (Line numbers are included for reference only.) The service is implemented as follows. ContosoService uses NetMsmqBinding to listen for messages. The queue was set up to use transactions for adding and removing messages. You need to ensure that OperationOne and OperationTwo execute under the same transaction context when they are invoked in the same session. What should you do?

Exhibits

70-513 question #152 exhibit 1
70-513 question #152 exhibit 2

Options

  • AInsert the following attribute to OperationOne on IContosoService.
  • BInsert the following attribute to OperationOne on ContosoService.
  • CAdd the following XML segment to the application config file in the
  • DAdd the following XML segment to the application config file in the

How the community answered

(35 responses)
  • A
    9% (3)
  • B
    74% (26)
  • C
    14% (5)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice