IContextChannel.AllowOutputBatching Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a value that instructs Windows Phone to store a set of messages before giving the messages to the transport.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.Booleantrue if the batching of outgoing messages is allowed; otherwise, false.
The level of batching affects the performance of the system. When you set the value to true, you are instructing the system to hold on to this message in a local buffer to send out with other serialized messages if possible. Set the AllowOutputBatching property to true if message throughput is important; set it to false if reducing latency is important.
The value of AllowOutputBatching does not override the value of the AllowOutputBatching property that is set at the channel level. For example, if AllowOutputBatching is set to true for a particular message, that message is sent immediately regardless of the value of AllowOutputBatching.
Note: |
|---|
All request/reply messages are sent immediately regardless of the value of AllowOutputBatching. |
Note: