Name

InstanceData

Synopsis

This type represents the instance data for a performance counter sample. InstanceName returns the InstanceData’s name. RawValue returns the sample’s raw data. Sample returns the CounterSample responsible for the data.

public class InstanceData {
// Public Constructors
   public InstanceData(string instanceName, CounterSample sample);
// Public Instance Properties
   public string InstanceName{get; }
   public long RawValue{get; }
   public CounterSample Sample{get; }
}

Returned By

InstanceDataCollection.this

Passed To

InstanceDataCollection.CopyTo( )

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.