You are developing an app that will be used to purchase and share music. Users will be
allowed to share only content that they have purchased.
You need to display a message within the Share charm when users attempt to share content
that they have not purchased.
What should you do?
A.
Use a toast notification.
B.
Use the SetText() method of the DataPackage object.
C.
Set the LegalInformation property of the DataPackage object.
D.
Use the FailWithDisplayText() method of the DataRequest object.
Explanation:
Use the FailWithDisplayText method when your app is unable to supply a DataPackage to a
target app. This method cancels the share operation and supplies a text message to the
target app. The target app can then display this text to the user to explain why the share
operation failed.