You are developing a Windows Communication Foundation (WCF) service. You must
record all available information for the first 1,000 messages processed, even if they are
malformed. You need to configure the message logging section of the configuration file.
Which configuration segment should you use?
A.
<messageLogging logMalformedMessages=”true” logMessagesAtServiceLevel=”true”
logMessagesAtTransportLevel=”false” maxMessagesToLog=”1000″/>
B.
<messageLogging logEntireMessage=”false” logMessagesAtServiceLevel=”true”
logMessagesAtTransportLevel=”false” maxMessagesToLog=”1000″/>
C.
<messageLogging logEntireMessage=”true” logMalformedMessages=”true”
logMessagesAtServiceLevel=”true” logMessagesAtTransportLevel=”true”
maxMessagesToLog=”1000″/>
D.
<messageLogging logMessagesAtServiceLevel=”true”
logMessagesAtTransportLevel=”true” maxMessagesToLog=”1000″/>
Explanation: