Delen via


EnteredBackgroundEventHandler Delegate

Definition

Represents a method that handles the entered background event.

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)

Parameters

sender
Object

Platform::Object

IInspectable

The object that fired the event.

e
IEnteredBackgroundEventArgs

Information about the event.

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to