Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 2.04 KB

targetfilerequest_getdeferral_254836512.md

File metadata and controls

29 lines (20 loc) · 2.04 KB
-api-id -api-type -api-device-family-note
M:Windows.Storage.Pickers.Provider.TargetFileRequest.GetDeferral
winrt method
xbox

Windows.Storage.Pickers.Provider.TargetFileRequest.GetDeferral

-description

Gets a TargetFileRequestDeferral that the app providing the save location can use to respond asynchronously to a TargetFileRequested event.

-returns

The TargetFileRequestDeferral that the providing app can use asynchronously to indicate that it is finished responding to a TargetFileRequested event.

-remarks

Use this method to finish responding to a TargetFileRequest event asynchronously. If this method is not called, the request is considered complete after the TargetFileRequested event handler returns— regardless of outstanding asynchronous operations.

To signal that your app has finished its asynchronous response to the TargetFileRequested event, call the TargetFileRequestDeferral.complete method.

Learn more about responding asynchronously to a TargetFileRequested event in TargetFileRequestedEventArgs.

-examples

-see-also

FileSavePickerUI.TargetFileRequested event, Object class, TargetFileRequest class, TargetFileRequestDeferral class, TargetFileRequestDeferral.Complete method, TargetFileRequestedEventArgs class, Windows.Storage.StorageFile class