Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1023 Bytes

shareoperation_reportcompleted_1121471021.md

File metadata and controls

27 lines (18 loc) · 1023 Bytes
-api-id -api-type -api-device-family-note
M:Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation.ReportCompleted
winrt method
xbox

Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation.ReportCompleted

-description

Specifies that the sharing operation is complete.

-remarks

When your app acts as a target for a share operation, it should call reportComplete after it has processed the data being shared. This method closes the app window and returns the user to the source app.

-examples

The following example shows how a target app might respond to a share operation. Notice the use of reportComplete when the target app has finished processing the data.

[!code-jsShareTargetBasic]

-see-also

ReportCompleted(QuickLink)