PerformanceCounter.EndInit Method

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

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

public void EndInit ()
public final void EndInit ()
public final function EndInit ()
Not applicable.

The Visual Studio 2005 design environment uses this method to end the initialization of a component that is used on a form or by another component. The BeginInit method starts the initialization. Using the BeginInit and EndInit methods prevents the component from being used before it is fully initialized.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: