FluorineFx溶液读取响应
本文关键字:响应 读取 FluorineFx | 更新日期: 2023-09-27 18:14:50
下面是读取netConnection响应的类。电话:
public class getCompleteParkOfUser : IPendingServiceCallback
{
public void ResultReceived(IPendingServiceCall call)
{
object result = call.Result;
MessageBox.Show("Server response: " + result);
ArrayCollection items = result as ArrayCollection;
foreach (object item in items)
{
MessageBox.Show("");
}
}
}
结果是好的:http://scr.hu/0tgp/6yxdi但结果不会保存为ArrayCollection:http://scr.hu/0tgp/ovghm实际上,我无法读取响应。
响应/请求是AMF
试试这个…
object item = call.Result;
IEnumerable enumerable = (IEnumerable)item;
foreach (object element in enumerable)
{
// do something with element
}