CommonMessagePump.IOleComponent2Private.OnAppActivate Method
Called when an application is being activated or deactivated.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'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.
Parameters
- fActive
Type: System.Int32
true if the application is being activated, otherwise false.
- dwOtherThreadID
Type: System.UInt32
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.
Implements
IOleComponent2Private.OnAppActivate(Int32, UInt32)
.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.