此代码在WP8中工作但在WP8.1中出现“DelayCreation& BackgroundCreation”错误
public void SetImageSource(string imagePath)
{
if (AppSettings.AddNewShowIconVisibility)
{
BitmapImage bmImage = BitmapCreateOptions.DelayCreation | BitmapCreateOptions.BackgroundCreation;
}
}