Export (0) Print
Expand All

PerformanceCounter Methods

(see also Protected Methods )
  Name Description
Public method BeginInit Begins the initialization of a PerformanceCounter instance used on a form or by another component. The initialization occurs at runtime.
Public method Close Closes the performance counter and frees all the resources allocated by this performance counter instance.
Public method Static CloseSharedResources Frees the performance counter library shared state allocated by the counters.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Decrement Decrements the associated performance counter by one through an efficient atomic operation.
Public method Dispose  Releases all resources used by the Component. (Inherited from Component.)
Public method EndInit Ends the initialization of a PerformanceCounter instance that is used on a form or by another component. The initialization occurs at runtime.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Increment Increments the associated performance counter by one through an efficient atomic operation.
Public method IncrementBy Increments or decrements the value of the associated performance counter by a specified amount through an efficient atomic operation.
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method NextSample Obtains a counter sample, and returns the raw, or uncalculated, value for it.
Public method NextValue Obtains a counter sample and returns the calculated value for it.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method RemoveInstance Deletes the category instance specified by the PerformanceCounter object InstanceName property.
Public method ToString  Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft