SearchVocabulary - Windows Phone 7 [英] SearchVocabulary - Windows Phone 7

查看:79
本文介绍了SearchVocabulary - Windows Phone 7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

 

我试图从Windows Phone 7调用SearchVocabulary方法并收到以下错误

I am trying to invoke the SearchVocabulary method from Windows Phone 7 and getting the following error

"当此人离线时,无法调用此方法有人可以让我知道我在这里做错了什么吗?

"This method cannot be invoked when the person is offline" Can some one let me know what am I doing wrong here?

 

    void SearchVocabulary(string searchString)
    {
      //this.SetProgressBarVisibility(true);
      string thingXml = @"<info>
      <text-search-parameters>
        <search-string>
          {0}
        </search-string>        
      </text-search-parameters>
    </info>";

      thingXml = String.Format(thingXml, searchString);

      XElement info = XElement.Parse(thingXml);

      HealthVaultRequest request = new HealthVaultRequest("SearchVocabulary", "1", info, SearchVocabularyCompleted);

      App.HealthVaultService.BeginSendRequest(request);
      SetProgressBarVisibility(true);
    }

 

Vish

推荐答案

我遇到了问题。任何人都可以帮忙吗?
I am stuck on the issue. Can anyone help?


这篇关于SearchVocabulary - Windows Phone 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆