Name | Description | |
---|---|---|
PerfCounterCollection Constructor | Create a new performance counter group referencing the supplied collection of performance counter objects |
The following tables list the members exposed by PerfCounterCollection.
Name | Description | |
---|---|---|
PerfCounterCollection Constructor | Create a new performance counter group referencing the supplied collection of performance counter objects |
Name | Description | |
---|---|---|
Caption | The display caption for this performance counter group | |
Count | The number of items in the collection. | |
Description | The display description for this performance counter group | |
IsReadOnly | Returns false, this collection is not read only. | |
Item | Gets the item in the collection at the specified zero-based index. |
Name | Description | |
---|---|---|
Add | Overloaded. Add an existing performance counter object to our collection. | |
Clear | Clears the entire collection. | |
Contains | Indicates whether the collection contains the specified performance counter | |
ContainsKey | Overloaded. Determines whether the collection contains an element with the specified key. | |
CopyTo | Copies the entire collection into the provided array, starting at the specified index. | |
IndexOf | Searches for the specified value and returns the zero-based index of the first occurrence | |
Insert | Not Supported. | |
Remove | Remove the specified PerfCounterMetric item. If the PerfCounterMetric isn't in the collection, no exception is thrown. | |
RemoveAt | Removes the item at the specified index. | |
TryGetValue | Overloaded. Retrieve an item from the collection by its key if present. If not present, the default value of the object is returned. | |
WriteSamples | Record a sample of every performance counter in this group |
Name | Description | |
---|---|---|
CollectionChanged | Raised every time the collection's contents are changed to allow subscribers to automatically track changes. |