Compartilhar via


AppActivateEventArgs(Boolean, UInt32) Constructor

Definition

Constructs a AppActivateEventArgs object with the given info.

public:
 AppActivateEventArgs(bool hostAppActivating, System::UInt32 threadId);
public:
 AppActivateEventArgs(bool hostAppActivating, unsigned int threadId);
 AppActivateEventArgs(bool hostAppActivating, unsigned int threadId);
public AppActivateEventArgs (bool hostAppActivating, uint threadId);
new Microsoft.VisualStudio.PlatformUI.OleComponentSupport.AppActivateEventArgs : bool * uint32 -> Microsoft.VisualStudio.PlatformUI.OleComponentSupport.AppActivateEventArgs
Public Sub New (hostAppActivating As Boolean, threadId As UInteger)

Parameters

hostAppActivating
Boolean

True if the host application is gaining activation, false otherwise.

threadId
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.

Applies to