Use an attribute which can be used to avoid the issue that WinRT cannot get the current stackTrace using reflection