Handles Deactive messages from the Visual Studio environment.
Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
声明
Protected Overridable Sub OnDeactivate ( _
    e As CancelEventArgs _
)
用法
Dim e As CancelEventArgs
Me.OnDeactivate(e)
protected virtual void OnDeactivate(
    CancelEventArgs e
)
protected:
virtual void OnDeactivate(
    CancelEventArgs^ e
)
abstract OnDeactivate : 
        e:CancelEventArgs -> unit 
override OnDeactivate : 
        e:CancelEventArgs -> unit 
protected function OnDeactivate(
    e : CancelEventArgs
)
Parameters
- e
 Type: System.ComponentModel.CancelEventArgs
 [in] Arguments to event handler.
Remarks
This method is a handler for Windows-based events, and is not a managed delegate object.
A Deactive message is sent when a dialog page's user interface window loses focus or is minimized but is not closed.
The default implementation takes no action.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.