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

nextCancelSubscriptionResponse() public method

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

                if (!cancelSubscriptionResponseReader.ReadToFollowing("cancelSubscriptionResponse"))
                {
                    cancelSubscriptionResponseReader.Close();
                }

                return i;
            }

            return null;
        }
batchResponse