Solved by @Raymond Chen:
You forgot to convert to the HWND version of ShowShareUI: DataTransferManagerInterop.ShowShareUIForWindow(hwnd); Call it from the main UI thread, not a dispatcher thread.
DataTransferManagerInterop.ShowShareUIForWindow(hwnd);