PerformanceCounter Methods

PerformanceCounter Methods

 

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodBeginInit()

Begins the initialization of a PerformanceCounter instance used on a form or by another component. The initialization occurs at runtime.

System_CAPS_pubmethodClose()

Closes the performance counter and frees all the resources allocated by this performance counter instance.

System_CAPS_pubmethodSystem_CAPS_staticCloseSharedResources()

Frees the performance counter library shared state allocated by the counters.

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDecrement()

Decrements the associated performance counter by one through an efficient atomic operation.

System_CAPS_pubmethodDispose()

Releases all resources used by the Component.(Inherited from Component.)

System_CAPS_pubmethodEndInit()

Ends the initialization of a PerformanceCounter instance that is used on a form or by another component. The initialization occurs at runtime.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIncrement()

Increments the associated performance counter by one through an efficient atomic operation.

System_CAPS_pubmethodIncrementBy(Int64)

Increments or decrements the value of the associated performance counter by a specified amount through an efficient atomic operation.

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodNextSample()

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

System_CAPS_pubmethodNextValue()

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

System_CAPS_pubmethodRemoveInstance()

Deletes the category instance specified by the PerformanceCounter object InstanceName property.

System_CAPS_pubmethodToString()

Returns a String containing the name of the Component, if any. This method should not be overridden.(Inherited from Component.)

Return to top
Show:
© 2016 Microsoft