Visual Basic (Declaration) | |
---|---|
Public Overridable Sub OnServiceStartup( _ ByVal sender As Object, _ ByVal e As ServiceStartupEventArgs _ ) |
Visual Basic (Usage) | ![]() |
---|---|
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
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.
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