Microsoft
70-511 · Question #296
Which two of the following XML samples, when added to the correct nodes of the app.config file, correctly configure AnimationTraceSource to write data to TextWriterTraceListener? Assume that any…
The correct answer is A. <source name="System.Windows.Media.Animation" switchName="mySwitch" > C. <sharedListeners>. See the full explanation below for the reasoning.
Question
Which two of the following XML samples, when added to the correct nodes of the app.config file, correctly configure AnimationTraceSource to write data to TextWriterTraceListener? Assume that any trace switches have been appropriately set. (Choose all that apply.)
Options
- A<source name="System.Windows.Media.Animation" switchName="mySwitch" >
- B<sharedListeners>
- C<sharedListeners>
- D<source name="System.Windows.Media.Animation" switchName="mySwitch" >
How the community answered
(25 responses)- A84% (21)
- B4% (1)
- D12% (3)
Community Discussion
No community discussion yet for this question.