AppActivateEventArgs(Boolean, UInt32) 构造函数

定义

仅供 Microsoft 内部使用。

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)

参数

hostAppActivating
Boolean

如果主机应用程序正在获取激活,则为 True; 否则为 false。

threadId
UInt32

如果 hostAppActivating 为 true,则表示线程 ID (如果拥有要停用的窗口的线程)。 如果该值为 false,则它是拥有正在激活的窗口的线程的线程 ID。

适用于