.NET Framework 4.6 and 4.5
Protected Overridable Sub OnDeactivated ( _
e As EventArgs _
OnDeactivated raises the Deactivated event.
A type that derives from Application may override OnDeactivated. The overridden method must call OnDeactivated in the base class if Deactivated needs to be raised.
Supported in: 4.6, 4.5, 4, 3.5, 3.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1