EnteredBackgroundEventHandler 委托
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示处理输入的后台事件的方法。
public delegate void EnteredBackgroundEventHandler(Platform::Object ^ sender, IEnteredBackgroundEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(722051443, 46734, 19951, 136, 193, 141, 232, 78, 90, 171, 47)]
class EnteredBackgroundEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(722051443, 46734, 19951, 136, 193, 141, 232, 78, 90, 171, 47)]
public delegate void EnteredBackgroundEventHandler(object sender, IEnteredBackgroundEventArgs e);
var enteredBackgroundEventHandlerHandler = function(sender, e){
/* Your code */
}
Public Delegate Sub EnteredBackgroundEventHandler(sender As Object, e As IEnteredBackgroundEventArgs)
参数
- sender
-
Object
Platform::Object
IInspectable
触发事件的对象。
有关事件的信息。
- 属性
Windows 要求
设备系列 |
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)
|