1 write to maxSizeInBytes
System.Runtime.Serialization (1)
System\Xml\XmlMtomWriter.cs (1)
58
this.
maxSizeInBytes
= maxSizeInBytes;
6 references to maxSizeInBytes
System.Runtime.Serialization (6)
System\Xml\XmlMtomWriter.cs (6)
277
int totalSize = ValidateSizeOfMessage(
maxSizeInBytes
, 0, totalSizeOfMimeParts);
278
totalSize += ValidateSizeOfMessage(
maxSizeInBytes
, totalSize, sizeOfBufferedBinaryData);
279
totalSize += ValidateSizeOfMessage(
maxSizeInBytes
, totalSize, count);
346
MimePart mimePart = new MimePart(binaryDataChunks, contentID, contentType, MimeGlobals.EncodingBinary, sizeOfBufferedBinaryData,
maxSizeInBytes
);
349
totalSizeOfMimeParts += ValidateSizeOfMessage(
maxSizeInBytes
, totalSizeOfMimeParts, mimePart.sizeInBytes);
350
totalSizeOfMimeParts += ValidateSizeOfMessage(
maxSizeInBytes
, totalSizeOfMimeParts, mimeWriter.GetBoundarySize());