Web services 如何在WindowsPhone8中从web服务获取数据
如何从webservice中的方法获取数据很难相信教程中没有介绍这一点。在这里,请查看EventArgs。尝试类似于“e.PropertyName”的内容。尝试过但未找到任何有用的属性:Cancelled、Equals、Error、GetHashCode、GetType、ToString、UserStateWeb services 如何在WindowsPhone8中从web服务获取数据,web-services,windows-phone-8,Web Services,Windows Phone 8,如何从webservice中的方法获取数据很难相信教程中没有介绍这一点。在这里,请查看EventArgs。尝试类似于“e.PropertyName”的内容。尝试过但未找到任何有用的属性:Cancelled、Equals、Error、GetHashCode、GetType、ToString、UserState private void GetData() { StudentWS.StudentWSSoapClient MyClient = new StudentWS
private void GetData()
{
StudentWS.StudentWSSoapClient MyClient = new StudentWS.StudentWSSoapClient();
MyClient.GetStudentCompleted +=MyClient_GetStudentCompleted;
MyClient.GetStudentAsync(CONNECTION_KEY);
}
void MyClient_GetStudentCompleted(object sender, System.ComponentModel.AsyncCompletedEventArgs e)
{
}