共用方式為


EnteredBackgroundEventArgs 類別

定義

在應用程式開始在背景中執行時提供資料。

public ref class EnteredBackgroundEventArgs sealed : IEnteredBackgroundEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class EnteredBackgroundEventArgs final : IEnteredBackgroundEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class EnteredBackgroundEventArgs : IEnteredBackgroundEventArgs
Public NotInheritable Class EnteredBackgroundEventArgs
Implements IEnteredBackgroundEventArgs
繼承
Object Platform::Object IInspectable EnteredBackgroundEventArgs
屬性
實作

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

備註

當您實作 WebUIApplication.EnteredBackgroundEventHandler 以回應 WebUIApplication.enteredbackground 事件時,會存取此物件。

方法

GetDeferral()

要求應用程式開始在背景中執行之前的延遲。

適用於

另請參閱