SPClientRequestServiceSettings.MaxParseMessageSize property

The max size in bytes of the message to be parsed. When its value is greater than zero, it's value will be used when the server needs to parse the request message. The value of MaxParseMessageSize could be different from MaxReceivedMessageSize. For example, when client uses CSOM to upload some files. The CSOM XML message size will be limited to MaxParseMessageSize. The total message, including the CSOM XML message and the file binary message, will be limited to MaxReceivedMessageSize.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property MaxParseMessageSize As Integer
    Get
    Set
'Usage
Dim instance As SPClientRequestServiceSettings
Dim value As Integer

value = instance.MaxParseMessageSize

instance.MaxParseMessageSize = value
public int MaxParseMessageSize { get; set; }

Property value

Type: System.Int32

See also

Reference

SPClientRequestServiceSettings class

SPClientRequestServiceSettings members

Microsoft.SharePoint.Administration namespace