Bagikan melalui


EnteredBackgroundEventHandler Delegasikan

Definisi

Mewakili metode yang menangani peristiwa latar belakang yang dimasukkan.

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)

Parameter

sender
Object

Platform::Object

IInspectable

Objek yang menembakkan peristiwa.

e
IEnteredBackgroundEventArgs

Informasi tentang peristiwa tersebut.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 Anniversary Edition (diperkenalkan dalam 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v3.0)

Berlaku untuk