Dela via


SuspendingEventArgs Class

Definition

Provides data for an app suspension event.

public ref class SuspendingEventArgs sealed : ISuspendingEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class SuspendingEventArgs final : ISuspendingEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
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 WebUIApplication.SuspendingEventHandler to respond to WebUIApplication.suspending events.

Note

This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX)

.

Properties

SuspendingOperation

Gets the app suspension operation.

Applies to

See also