Show / Hide Table of Contents

Class PerformanceResult

The result of a performance counter

Inheritance
System.Object
PerformanceResult
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class PerformanceResult

Properties

Counter

Gets the quantity monitored - see Type to understand what this field contains

Declaration
public long Counter { get; }
Property Value
System.Int64

Global

Gets a value indicating whether this PerformanceResult is global or relative to the resource for which it's called.

Declaration
public bool Global { get; }
Property Value
System.Boolean

Instances

Gets the number of instances which led to the specified counter being incremented - e.g. the times a specific code is executed, or object instanced

Declaration
public int Instances { get; }
Property Value
System.Int32

Name

Gets the name of the performance counter which generated this result.

Declaration
public string Name { get; }
Property Value
System.String

Type

Gets the unit of measure of the Counter field.

Declaration
public PerformanceCounterType Type { get; }
Property Value
PerformanceCounterType

Methods

PerformanceCounterTypeToString(PerformanceCounterType)

Converts a PerformanceCounterType to a string.

Declaration
public static string PerformanceCounterTypeToString(PerformanceCounterType Type)
Parameters
PerformanceCounterType Type

The type.

Returns
System.String

ToString()

Returns a System.String that represents this instance.

Declaration
public override string ToString()
Returns
System.String

Overrides
System.Object.ToString()
Back to top Built by Itinero, MIT licensed.