public virtual loadResponse nextLoadResponse()
{
if (loadResponseReader.ReadState != ReadState.Closed)
{
string response = loadResponseReader.ReadOuterXml();
XmlSerializer serializer = new XmlSerializer(typeof(loadResponse));
StringReader reader = new StringReader(response);
loadResponse i = (loadResponse)serializer.Deserialize(reader);
if (!loadResponseReader.ReadToFollowing("loadResponse"))
{
loadResponseReader.Close();
}
return i;
}
return null;
}