MessageBuffer.BufferSize Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the approximate number of bytes accessed by this MessageBuffer.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
You can control the maximum size of the buffer by setting BufferSize to the maximum number of bytes desired. This number does not necessarily cover any transient allocations related to building the buffer or properties attached to the message. It is not related to the actual size of the message when serialized.