How to catch UnhandledException error? RRS feed

  • Question

  • I can catch UnhandledException by Platform::Exception in 8.0 before. But in 8.1 it does not work anymore. Any help? My crash code is below, where str may be any String^ value.

    try {

    return StorageApplicationPermissions::FutureAccessList->GetFileAsync(str);

    } catch (Platform::Exception^ e) {

    // exception handle;


    Wednesday, March 12, 2014 1:51 PM