Version

OnInit Method (WebScheduleDbProvider)

Performs initializations during the early stages of the ASP.NET page lifecycle.
Syntax
'Declaration
 
Protected Overrides Sub OnInit( _
   ByVal args As EventArgs _
) 
protected override void OnInit( 
   EventArgs args
)

Parameters

args
Event arguments.
Remarks

Inheritors should override OnInit to perform any actions related to the initialization of their WebScheduleDbProvider subclass that must take place post-construction. Any operations perform during Init should not rely on interacting with other elements on the Page as those elements may not have completed their own Init, have not been added to the Page, and may not be ready to collaborate with the WebScheduleDbProvider at the current time.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also