Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Notifies the component when the host application gains or loses activation.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Private Sub OnAppActivate ( _
fActive As Integer, _
dwOtherThreadID As UInteger _
) Implements IOleComponent.OnAppActivate
void IOleComponent.OnAppActivate(
int fActive,
uint dwOtherThreadID
)
private:
virtual void OnAppActivate(
int fActive,
unsigned int dwOtherThreadID
) sealed = IOleComponent::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: Int32True if the application is being activated, false if it is losing activation.
dwOtherThreadID
Type: UInt32The ID of the thread that owns the window.
Implements
IOleComponent.OnAppActivate(Int32, UInt32)
Remarks
See OnAppActivate for more information.
.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.