Version

InitializeResourceEventHandler Delegate

Handler for a application-specified method that expects to be called back when the InitializeResource event fires.
Syntax
'Declaration
 
Public Delegate Sub InitializeResourceEventHandler( _
   ByVal sender As Object, _
   ByVal e As InitializeResourceEventArgs _
) 
public delegate void InitializeResourceEventHandler( 
   object sender,
   InitializeResourceEventArgs e
)

Parameters

sender
e
Remarks

Applications wishing to receive notification after a Resource has been fetched from the database and added to it's collection should implement a method within their application matching the signature of this delegate.

They may then instantiate the InitializeResourceEventHandler and add it as a handler on the InitializeResource event of their WebSchedule data provider.

Each time the event fires during data-bind, the application's method that has been added as a handler to the InitializeResource event will receive InitializeResourceEventArgs describing the newly added resource. This method can then perform any additional initializations on the Resource that the application requires.

InitializeResource
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