mscorlib(4.0.0.0) API with additions
|
Holds instance data associated with a performance counter sample. More...
Public Member Functions | |
InstanceData (string instanceName, CounterSample sample) | |
Initializes a new instance of the InstanceData class, using the specified sample and performance counter instance. More... | |
Public Attributes | |
string | InstanceName => instanceName |
Gets the instance name associated with this instance data. More... | |
CounterSample | Sample => sample |
Gets the performance counter sample that generated this data. More... | |
long | RawValue => sample.RawValue |
Gets the raw data value associated with the performance counter sample. More... | |
Holds instance data associated with a performance counter sample.
Definition at line 4 of file InstanceData.cs.
System.Diagnostics.InstanceData.InstanceData | ( | string | instanceName, |
CounterSample | sample | ||
) |
Initializes a new instance of the InstanceData class, using the specified sample and performance counter instance.
instanceName | The name of an instance associated with the performance counter. |
sample | A T:System.Diagnostics.CounterSample taken from the instance specified by the instanceName parameter. |
Definition at line 25 of file InstanceData.cs.
string System.Diagnostics.InstanceData.InstanceName => instanceName |
Gets the instance name associated with this instance data.
Definition at line 12 of file InstanceData.cs.
long System.Diagnostics.InstanceData.RawValue => sample.RawValue |
Gets the raw data value associated with the performance counter sample.
Definition at line 20 of file InstanceData.cs.
CounterSample System.Diagnostics.InstanceData.Sample => sample |
Gets the performance counter sample that generated this data.
Definition at line 16 of file InstanceData.cs.