Which code segment should you use?
A. [OperationContract(IsOneWay = true, Action = “*”, ReplyAction = “*”)] void PostData(Order data);
B. [OperationContract(IsOneWay = true, Action = “*”, ReplyAction = “*”)] void PostData(BodyWriter data);
C. [OperationContract] void PostData(BodyWriter data);
D. [OperationContract] void PostData(Message data);
Answer:D
Which code segment should you use?
A. [OperationContract(IsOneWay = true, Action = “*”, ReplyAction = “*”)] void PostData(Order data); B. [OperationContract(IsOneWay = true, Action = “*”, ReplyAction = “*”)] void PostData(BodyWriter data); C. [OperationContract] void PostData(BodyWriter data); D. [OperationContract] void PostData(Message data);