Condividi tramite


AppActivateEventArgs Constructor

Constructs a AppActivateEventArgs object with the given info.

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

Syntax

'Dichiarazione
Public Sub New ( _
    hostAppActivating As Boolean, _
    threadId As UInteger _
)
'Utilizzo
Dim hostAppActivating As Boolean
Dim threadId As UInteger

Dim instance As New AppActivateEventArgs(hostAppActivating, _
    threadId)
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

AppActivateEventArgs Members

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace