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 method InstanceData(string instanceName, 
        CounterSample sample);  
// Public Instance Properties
   public field string InstanceName{get; } 
   public field long RawValue{get; } 
   public field CounterSample Sample{get; } 
}

Returned By

InstanceDataCollection.this

Passed To

InstanceDataCollection.CopyTo()

Get C# in a Nutshell 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.