Visual Basic (Declaration) | |
---|---|
Public Overridable Sub OnServiceShutdown( _ ByVal sender As Object, _ ByVal e As EventArgs _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As EntityServiceApplication Dim sender As Object Dim e As EventArgs instance.OnServiceShutdown(sender, e) |
C++/CLI | |
---|---|
public: virtual void OnServiceShutdown( Object^ sender, EventArgs^ e ) |
Parameters
- sender
- Always null
- e
- Always empty
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.
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