共用方式為


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 引進)

適用於