Microsoft
70-513 · Question #334
You need to define a new Service contract. Which of the following corresponds to the .NET attributes from the System.ServiceModel namespace that you require when defining your Service contract?
The correct answer is C. The ServiceContractAttribute and the OperationContractAttribute. See the full explanation below for the reasoning.
Question
You need to define a new Service contract. Which of the following corresponds to the .NET attributes from the System.ServiceModel namespace that you require when defining your Service contract?
Options
- AThe ServiceContractAttribute and the FaultContractAttribute
- BThe MessageParameterAttribute and the OperationContractAttribute
- CThe ServiceContractAttribute and the OperationContractAttribute
- DThe FaultContractAttribute and the OperationContractAttribute
How the community answered
(53 responses)- A6% (3)
- B9% (5)
- C81% (43)
- D4% (2)
Community Discussion
No community discussion yet for this question.