从豪雅团队我找到了这些代码,
void task_Completed(object sender, PhotoResult e)
{
if (e.TaskResult == TaskResult.OK)
{
photoLoaded = true;
JpegInfo info = ExifLib.ExifReader.ReadJpeg(e.ChosenPhoto, e.OriginalFileName);
var img = new BitmapImage();
img.SetSource(e.ChosenPhoto);
loadedImg.Source = img;
ReadExif(info);
}
}
但是,当我运行这段代码时,出现了 System.Debugging.Break 。我该如何修复它?