---
schema_version: "1"
id: 51289ca44911a7e0130e2512fa72e64c5ef28fca6d9957d9cf44a7021b7ca7e4
title: Result Detail XML Processing
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/async_guide_result_xml_processing.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/async_guide_result_xml_processing.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f3ec0c4c5eb2c78725c3a3cbbb7a18180a9ef65e9ef967025cc8375cb9ae43eb
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Result Detail XML Processing

When serializing the large ResultDetailXML response, set the maximum size of the TextMessageEncodingBindingElement to 2147483647.

<!-- Moved Gist inline (mc-doc/8ff9db5452b8bda6c19bc8e3e91cd5c0) -->

```cs
TextMessageEncodingBindingElement txelement = new TextMessageEncodingBindingElement(MessageVersion.Soap11WSAddressingAugust2004, Encoding.UTF8);
txelement.ReaderQuotas.MaxDepth = 2147483647;
txelement.ReaderQuotas.MaxStringContentLength = 2147483647;
txelement.ReaderQuotas.MaxArrayLength = 2147483647;
txelement.ReaderQuotas.MaxBytesPerRead = 2147483647;
txelement.ReaderQuotas.MaxNameTableCharCount = 2147483647;
```
