IdeaBlade DevForce 2010 Help Reference
OnServiceStartup Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityServiceApplication Class : OnServiceStartup Method



sender
Always null
e
Called when the EntityService is started.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub OnServiceStartup( _
   ByVal sender As Object, _
   ByVal e As ServiceStartupEventArgs _
) 
Visual Basic (Usage)Copy Code
Dim instance As EntityServiceApplication
Dim sender As Object
Dim e As ServiceStartupEventArgs
 
instance.OnServiceStartup(sender, e)
C# 
public virtual void OnServiceStartup( 
   object sender,
   ServiceStartupEventArgs e
)
C++/CLI 
public:
virtual void OnServiceStartup( 
   Object^ sender,
   ServiceStartupEventArgs^ e
) 

Parameters

sender
Always null
e

Remarks

You can override this method in your subclass to perform custom startup logic.

The IdeaBlade.Core.IdeaBladeConfig provided in the ServiceStartupEventArgs may be modified as needed. These modifications will be available for all following EntityServer processing.

The EntityService starts upon the first client request.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.