2017-03-17 65 views
0

我收到以下错误:存在明确的转换。你错过了演员吗?

An explicit conversion exists. Are you missing a cast? 

这是为什么?

an explicit conversion exists

private async void getEmotion_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e) 
     { 
      try 
      { 
       emotionResult = await emotionServiceClient.RecognizeAsync(imageStream.AsStream()); 
       if(emotionResult != null) 
       { 
        Scores score = emotionResult[0].Scores; 
       } 
      } 
      catch 
      { 
       Output.Text = "Error returning the Emotion"; 
      } 
     } 

回答

相关问题