The documentation of the UserActivity.ContentURI property in windows.applicationmodel.useractivities/useractivity_contenturi.md is incomplete.
The API is throwing an InvalidParameter/E_INVALIDARG error if the provided URI is not an HTTP, HTTPS or FILE URI.
This should be clearly stated in the documentation. If the application is using a custom scheme for its content, it should not be set to this property.
The documentation of the
UserActivity.ContentURIproperty inwindows.applicationmodel.useractivities/useractivity_contenturi.mdis incomplete.The API is throwing an
InvalidParameter/E_INVALIDARGerror if the provided URI is not an HTTP, HTTPS or FILE URI.This should be clearly stated in the documentation. If the application is using a custom scheme for its content, it should not be set to this property.