This documentation is archived and is not being maintained.

CounterSample Methods

The methods of the CounterSample structure are listed here. For a complete list of CounterSample structure members, see the CounterSample Members topic.

Public Methods

public methodstatic (Shared in Visual Basic)Calculate Overloaded. Calculates the performance data using the specified counter sample data.
public methodEquals (inherited from ValueType) Overridden. Indicates whether this instance and a specified object are equal.
public methodGetHashCode (inherited from ValueType) Overridden. Returns the hash code for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString (inherited from ValueType) Overridden. Returns the fully qualified type name of this instance.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

CounterSample Structure | System.Diagnostics Namespace