-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.ApplicationModel.DataTransfer.ShareTarget.ShareOperation.ReportCompleted |
winrt method |
xbox |
Specifies that the sharing operation is complete.
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.
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]