Picker​Closing​Operation Picker​Closing​Operation Picker​Closing​Operation 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
Attributes
Windows 10 requirements
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

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
Value
DateTime DateTime DateTime

The dateTime object that indicates when the system will shut down the app.

Attributes

Methods

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
Returns

The pickerClosingDeferral that the app providing files through the file picker can use to respond asynchronously to a closing event.

Attributes

Remarks

Use this method to finish responding to a closing event asynchronously.