WP8.1 C# Binding Contact Image

后端 未结 4 1110
北荒
北荒 2021-01-07 14:24

Information
Quite simply, I’m attempting to create an app that would display the contacts for a user.

I’m also a self-taught programmer, so I

4条回答
  •  温柔的废话
    2021-01-07 14:46

    The problem is that the GetImage method is asynchronous, so you need to wait for the result to complete:

            Task getImageTask = GetImage(c);
            getImageTask.RunSynchronously();
            return getImageTask.Result;
    

提交回复
热议问题