SimulatorClient.AllowTakeForeground(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
请求模拟器 UI 应用程序允许给定的 processId 拍摄前台。
public:
virtual void AllowTakeForeground(int processId);
public void AllowTakeForeground (int processId);
abstract member AllowTakeForeground : int -> unit
override this.AllowTakeForeground : int -> unit
Public Sub AllowTakeForeground (processId As Integer)
参数
- processId
- Int32
请求拍摄前台的进程 Id。