In This Topic
Under some circumstances you can need to call this method if you get an exception after closing the application
Syntax
'Declaration
Public Shared Sub OnApplicationExit( _
ByVal As Object, _
ByVal As EventArgs _
)
public static void OnApplicationExit(
object ,
EventArgs
)
Parameters
- sender
- Can be null/Nothing
- e
- Can be null/Nothing
See Also