SuspendingOperation class
Manages an app suspension operation.
Syntax
var suspendingOperation = promise.operation;
Attributes
- MarshalingBehaviorAttribute(Standard)
- VersionAttribute(NTDDI_WIN8)
Members
The SuspendingOperation class has these types of members:
Methods
The SuspendingOperation class has these methods.
| Method | Description |
|---|---|
| GetDeferral | Requests that the app suspension operation be delayed. |
Properties
The SuspendingOperation class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only | Gets the time remaining before a delayed app suspension operation continues. |
Remarks
Use the SuspendingEventArgs.suspendingOperation property to get the object.
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).
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
|
Namespace |
Windows.UI.WebUI |
|
Metadata |
|
See also
- Tasks
- How to suspend an app
- Reference
- SuspendingEventArgs
- Samples
- App activated, resume, and suspend using the WRL sample
Build date: 12/4/2012
