Freigeben über


SuspendingEventHandler Delegat

Definition

Stellt eine Methode dar, die das App-Aussetzungsereignis behandelt.

public delegate void SuspendingEventHandler(Platform::Object ^ sender, ISuspendingEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1352417948, 30946, 18563, 171, 200, 137, 96, 220, 222, 27, 92)]
class SuspendingEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1352417948, 30946, 18563, 171, 200, 137, 96, 220, 222, 27, 92)]
public delegate void SuspendingEventHandler(object sender, ISuspendingEventArgs e);
var suspendingEventHandlerHandler = function(sender, e){
/* Your code */
}
Public Delegate Sub SuspendingEventHandler(sender As Object, e As ISuspendingEventArgs)

Parameter

sender
Object

Platform::Object

IInspectable

Der Absender.

e
ISuspendingEventArgs

Die Ereignisdaten.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Gilt für:

Weitere Informationen