NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PerformanceCounter.NextSample

Obtains a counter sample and returns the raw value for it.

[Visual Basic]
Public Function NextSample() As CounterSample
[C#]
public CounterSample NextSample();
[C++]
public: CounterSample NextSample();
[JScript]
public function NextSample() : CounterSample;

Return Value

Returns the next CounterSample value for this counter.

See Also

PerformanceCounter Class | PerformanceCounter Members | System.Diagnostics Namespace