PickerClosingOperation
PickerClosingOperation
PickerClosingOperation
PickerClosingOperation
Class
Definition
Lets an app that provides files get the deadline for responding to a closing event and get a deferral so the app can respond to the event asynchronously.
public : sealed class PickerClosingOperation : IPickerClosingOperationpublic sealed class PickerClosingOperation : IPickerClosingOperationPublic NotInheritable Class PickerClosingOperation Implements IPickerClosingOperation// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
If your app participates in the File Open Picker contract, you can use this class to respond to a closing event.
Properties
Deadline Deadline Deadline Deadline
Gets a dateTime object that indicates when the system will shut down the app that is providing files through the file picker without further notice.
public : DateTime Deadline { get; }public DateTimeOffset Deadline { get; }Public ReadOnly Property Deadline As DateTimeOffset// You can use this property in JavaScript.
Methods
GetDeferral() GetDeferral() GetDeferral() GetDeferral()
Gets a pickerClosingDeferral that the app providing files through the file picker can use to respond asynchronously to a closing event.
public : PickerClosingDeferral GetDeferral()public PickerClosingDeferral GetDeferral()Public Function GetDeferral() As PickerClosingDeferral// You can use this method in JavaScript.
The pickerClosingDeferral that the app providing files through the file picker can use to respond asynchronously to a closing event.
Remarks
Use this method to finish responding to a closing event asynchronously.