Share via


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 ref class PickerClosingOperation sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class PickerClosingOperation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class PickerClosingOperation
Public NotInheritable Class PickerClosingOperation
Inheritance
Object Platform::Object IInspectable PickerClosingOperation
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

If your app participates in the File Open Picker contract, you can use this class to respond to a Closing event.

Properties

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.

Methods

GetDeferral()

Gets a PickerClosingDeferral that the app providing files through the file picker can use to respond asynchronously to a Closing event.

Applies to

See also