O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required