Welcome to Microsoft Q&A!
Although the StackFrame Class is supported to use in UWP, for example, you could call it in a UWP app, but it looks like not all the features of the StackFrame Class are supported, like
Generally, if we want to collect or log exception messages, it is recommended to use App Center in UWP apps.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.