Gets or sets the maximum amount of memory available within a session for optimizing transmission procedures.
Assemblies: System.ServiceModel (in System.ServiceModel.dll)
System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)
The .NET Binary Format for XML can optimize the transmission of strings when they are used in multiple messages within a session. Once a string is sent in a message, additional messages that contain that string can refer to it using only the string's ID. This requires that the strings and their IDs be stored in memory. This allows the ID to be retransmitted in subsequent messages instead of the entire string. This lookup increases the efficiency of message transmission when using the binary format. The gets and sets the maximum amount of memory that is allocated to store these strings.