Which code segment should you insert at line 16?

You are developing a method named CreateCounters that will create performance counters for an application.

The method includes the following code. (Line numbers are included for reference only.)

You need to ensure that Counter2 is available for use in Windows Performance Monitor (PerfMon).

Which code segment should you insert at line 16?
A . CounterType = PerformanceCounterType.RawBase
B . CounterType = PerformanceCounterType.AverageBase
C . CounterType = PerformanceCounterType.SampleBase
D . CounterType = PerformanceCounterType.CounterMultiBase

Answer: B

Explanation:

Note AverageTimer32 on line 09. The Base counter type AverageBase has the Parent (composite) counter types AverageTimer32, AverageCount64.

Reference:

http://msdn.microsoft.com/en-us/library/system.diagnostics.performancecountertype.aspx

Latest 70-483 Dumps Valid Version with 288 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments