Share via


AppActivateEventArgs Constructor

Microsoft internal use only.

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Public Sub New ( _
    hostAppActivating As Boolean, _
    threadId As UInteger _
)
public AppActivateEventArgs(
    bool hostAppActivating,
    uint threadId
)
public:
AppActivateEventArgs(
    bool hostAppActivating, 
    unsigned int threadId
)
new : 
        hostAppActivating:bool * 
        threadId:uint32 -> AppActivateEventArgs
public function AppActivateEventArgs(
    hostAppActivating : boolean, 
    threadId : uint
)

Parameters

  • hostAppActivating
    Type: System.Boolean
    True if the host application is gaining activation, false otherwise.
  • threadId
    Type: System.UInt32
    If hostAppActivating is true this represents the thread ID if the thread that owns the window being deactivated. If it is false it is the thread ID of the thread that owns the window that is being activated.

.NET Framework Security

See Also

Reference

AppActivateEventArgs Class

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace