EnteredBackgroundEventHandler 委托

定义

表示处理输入的后台事件的方法。

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

触发事件的对象。

e
IEnteredBackgroundEventArgs

有关事件的信息。

属性

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

适用于