Litle.Sdk.batchResponse.nextDeactivateResponse C# (CSharp) Method

nextDeactivateResponse() public method

public nextDeactivateResponse ( ) : deactivateResponse
return deactivateResponse
        public virtual deactivateResponse nextDeactivateResponse()
        {
            if (deactivateResponseReader.ReadState != ReadState.Closed)
            {
                string response = deactivateResponseReader.ReadOuterXml();
                XmlSerializer serializer = new XmlSerializer(typeof(deactivateResponse));
                StringReader reader = new StringReader(response);
                deactivateResponse i = (deactivateResponse)serializer.Deserialize(reader);

                if (!deactivateResponseReader.ReadToFollowing("deactivateResponse"))
                {
                    deactivateResponseReader.Close();
                }

                return i;
            }

            return null;
        }
batchResponse