Xamarin在iPad中构建iOS azure移动直播播放器。 “No Body on Method”,NInterpretException

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Xamarin在iPad中构建iOS azure移动直播播放器。 “No Body on Method”,NInterpretException相关的知识,希望对你有一定的参考价值。

下面是我的ICloudService公共类AzureCloudService:ICloudService {MobileServiceClient客户端;

    public AzureCloudService()
    {
        Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init();
        client = new MobileServiceClient("https://xxxxxxxxxxxxxx.azurewebsites.net");
    }

    public ICloudTable<T> GetTable<T>() where T : TableData
    {
        return new AzureCloudTable<T>(client);
    }
}

如果我删除'client = new'行,则加载应用程序,否则会抛出错误。

Vizualization Error
No body on method
Microsoft.WindowsAzure.MobileServices.IApplicationStorage
Microsoft.WindowsAzure.MobileServices.IPlatform::get_ApplicationStorage() (NInterpretException)
答案

我使用带有Live Player的iPhone 6也遇到了同样的问题。

如果我将Visual Studio挂接到我的Mac并通过Visual Studio中的iPhone模拟器运行它然后它可以正常工作,所以可能是,Live Player出了问题?

以上是关于Xamarin在iPad中构建iOS azure移动直播播放器。 “No Body on Method”,NInterpretException的主要内容,如果未能解决你的问题,请参考以下文章