Called when an application is being activated or deactivated.
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
'Declaration Private Sub OnAppActivate ( _ fActive As Integer, _ dwOtherThreadID As UInteger _ ) Implements IOleComponent2Private.OnAppActivate
void IOleComponent2Private.OnAppActivate( int fActive, uint dwOtherThreadID )
private: virtual void OnAppActivate( int fActive, unsigned int dwOtherThreadID ) sealed = IOleComponent2Private::OnAppActivate
private abstract OnAppActivate : fActive:int * dwOtherThreadID:uint32 -> unit private override OnAppActivate : fActive:int * dwOtherThreadID:uint32 -> unit
JScript does not support explicit interface implementations.
true if the application is being activated, otherwise false.
If the host application is being activated, the ID of the thread that owns the window being deactivated. If the host application is being deactivated, the ID of the thread that owns the window being activated.
.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.