PickerClosingOperation PickerClosingOperation PickerClosingOperation PickerClosingOperation Class

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.

Syntax

Declaration

public sealed class PickerClosingOperationpublic sealed class PickerClosingOperationPublic NotInheritable Class PickerClosingOperationpublic sealed class PickerClosingOperation

Remarks

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

Properties summary

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 summary

Gets a PickerClosingDeferral that the app providing files through the file picker can use to respond asynchronously 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 DateTimeOffsetpublic DateTime Deadline { get; }

    Property Value

Methods

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Storage.Pickers.Provider.dll