Microsoft
70-513 · Question #315
You are developing a client that sends several types of SOP messages to a Windows Communication Foundation (WCF) service method named PostData PostData is currently defined as follows…
The correct answer is D. [OperationContract] void PostDaa(Message data). See the full explanation below for the reasoning.
Question
You are developing a client that sends several types of SOP messages to a Windows Communication Foundation (WCF) service method named PostData PostData is currently defined as follows:
[OperationContract? void PostData(Order data); You need to modify PostData so that it can receive any SO6P message which code segment should you use?
Options
- A[OperaionContract0sOneWay true, Action = `v',
- B(OperationContract(1sOneWay = true, Action "v',
- C[OperaionContract] void PostDaa(BodyWriter data);
- D[OperationContract] void PostDaa(Message data);
How the community answered
(30 responses)- A10% (3)
- B3% (1)
- C7% (2)
- D80% (24)
Community Discussion
No community discussion yet for this question.