PickerClosingOperation class

Applies to Windows and Windows Phone

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


var pickerClosingOperation = closingOperation;

Attributes

[Version(0x06020000)]

Members

The PickerClosingOperation class has these types of members:

Methods

The PickerClosingOperation class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

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

 

Properties

The PickerClosingOperation class has these properties.

PropertyAccess typeDescription

Deadline

Read-onlyGets a dateTime object that indicates when the system will shut down the app that is providing files through the file picker without further notice.

 

Remarks

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

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.Pickers.Provider
Windows::Storage::Pickers::Provider [C++]

Metadata

Windows.winmd

See also

Object
pickerClosingEventArgs.closingOperation

 

 

Show:
© 2014 Microsoft