Udostępnij za pośrednictwem


SuspendingEventArgs Class

Definition

Provides data for an app suspending event.

public ref class SuspendingEventArgs sealed : ISuspendingEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SuspendingEventArgs final : ISuspendingEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SuspendingEventArgs : ISuspendingEventArgs
Public NotInheritable Class SuspendingEventArgs
Implements ISuspendingEventArgs
Inheritance
Object Platform::Object IInspectable SuspendingEventArgs
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

This object is accessed when you implement a handler to respond to Suspending events.

Properties

SuspendingOperation

Gets the app suspending operation.

Applies to

See also