Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PerformanceCounter.BeginInit Method

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

[Visual Basic]
Public Overridable Sub BeginInit() Implements _
   ISupportInitialize.BeginInit
[C#]
public virtual void BeginInit();
[C++]
public: virtual void BeginInit();
[JScript]
public function BeginInit();

Implements

ISupportInitialize.BeginInit

Remarks

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

Requirements

Platforms: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

PerformanceCounter Class | PerformanceCounter Members | System.Diagnostics Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft