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



sender
Always null
e
Always empty
Called when the EntityService is shutting down.

Syntax

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

Parameters

sender
Always null
e
Always empty

Remarks

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

Note that all TraceSubscribers (including the DebugLog) may have shutdown so any trace messages written here could be lost.

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.