title: Creating BitmapImage throws missing key exception
body: <p>I have a view that displays an image with it's title and comment alongside it.
  When I load up existing images I utilize this code:</p>
  
  <pre><code>        this.ArtifactIdentity = image.ArtifactIdentity;
          this.Comment = image.Comment;
          this.Name = image.Name;
          this.MediaIdentity = image.MediaIdentity;
          this.ImageArray = image.Image;
          Image = new BitmapImage();
          Image.BeginInit();
          Image.CacheOption = BitmapCacheOption.None;
          Image.CreateOptions = BitmapCreateOptions.IgnoreImageCache;
          Image.StreamSource = new MemoryStream(this.ImageArray);
          Image.EndInit();
  </code></pre>
  
  <p>When I execute the EndInit() it throw the exception missing parameter key.  The stack trace shows this:</p>
  
  <pre><code>  at System.Collections.Hashtable.ContainsKey(Object key)
    at System.Collections.Hashtable.Contains(Object key)
    at System.Windows.Media.Imaging.ImagingCache.RemoveFromCache(Uri uri, Hashtable table)
    at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
    at System.Windows.Media.Imaging.BitmapImage.EndInit()
  </code></pre>
  
  <p>So can anyone tell me why I am getting this exception when I am using code I've seen many others use with success and yet I get this exception???  I'm at a loss!</p>