Begins the initialization of an EventLog used on a form or used 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();
The Visual Studio .NET design environment uses this method to start the initialization of a component used on a form or by another component. The EndInit method ends the initialization. Using the BeginInit and EndInit methods prevents the control from being used before it is fully initialized.
Platforms: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- SecurityPermission for calling any members of EventLog with full trust. Associated enumeration: PermissionState.Unrestricted