Freigeben über


LeavingBackgroundEventHandler Delegat

Definition

Stellt eine Methode dar, die das verlassene Hintergrundereignis behandelt.

public delegate void LeavingBackgroundEventHandler(Platform::Object ^ sender, ILeavingBackgroundEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(11848921, 31388, 19307, 154, 196, 19, 71, 79, 38, 139, 196)]
class LeavingBackgroundEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(11848921, 31388, 19307, 154, 196, 19, 71, 79, 38, 139, 196)]
public delegate void LeavingBackgroundEventHandler(object sender, ILeavingBackgroundEventArgs e);
var leavingBackgroundEventHandlerHandler = function(sender, e){
/* Your code */
}
Public Delegate Sub LeavingBackgroundEventHandler(sender As Object, e As ILeavingBackgroundEventArgs)

Parameter

sender
Object

Platform::Object

IInspectable

Das Objekt, das das Ereignis ausgelöst hat.

e
ILeavingBackgroundEventArgs

Informationen zum Ereignis.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v3.0)

Gilt für: