Microsoft
70-513 · Question #43
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?
Exhibit
Options
- AInsert the following attribute to OperationOne on lContosoService
- BInsert the following attribute to OperationOne on ContosoService
- CAdd the following XML segment to the application config file in the system
- DAdd the following XML segment to the application config file in the
How the community answered
(15 responses)- B80% (12)
- C13% (2)
- D7% (1)
Community Discussion
No community discussion yet for this question.
