WebMessageEncodingElement.MaxWritePoolSize 属性       
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指定无需分配新编写器便可同时发送的最大消息数。
public:
 property int MaxWritePoolSize { int get(); void set(int value); };
	[System.Configuration.ConfigurationProperty("maxWritePoolSize", DefaultValue=16)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int MaxWritePoolSize { get; set; }
	[<System.Configuration.ConfigurationProperty("maxWritePoolSize", DefaultValue=16)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.MaxWritePoolSize : int with get, set
	Public Property MaxWritePoolSize As Integer
	属性值
无需分配新的编写器便可同时发送的最大消息数。 默认值为 16。
- 属性
 
示例
static void Main(string[] args)  
{  
   int maxWritePoolSize = webMEE.MaxWritePoolSize;  
   Console.WriteLine("The MaxWritePoolSize is: {0}", maxWritePoolSize);  
   maxWritePoolSize = 48;  
   Console.WriteLine("The MaxWritePoolSize has been changed to: {0}", maxWritePoolSize);  
}  
	注解
池越大,系统允许的活动峰值就越大,但工作集也会随之增大。 
              WebMessageEncodingElement 可配置能够读取和编写纯文本 XML、JSON 和原始二进制文件的复合编码器。 此编码器由三个独立的编码器组成。 此设置会影响每个独立编码器的最大编写器数。