Compiler Error C2030
a destructor with 'protected private' accessibility cannot be a member of a class declared 'sealed'
A Windows Runtime class declared as sealed
cannot have a protected private destructor. Only public virtual and private non-virtual destructors are allowed on sealed types. For more information, see Ref classes and structs.
To fix this error, change the accessibility of the destructor.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for