DefaultBodySize Property
Gets or sets the size, in bytes, of the default body buffer.
Syntax
'Declaration <DefaultValueAttribute()> <MessagingDescriptionAttribute("The default body buffer size to create, when the message is received.")> Public Property DefaultBodySize As Integer
'Usage Dim instance As MessagePropertyFilter Dim value As Integer instance.DefaultBodySize = value value = instance.DefaultBodySize
[DefaultValue()] [MessagingDescription("The default body buffer size to create, when the message is received.")] public int DefaultBodySize {get; set;}
[DefaultValue()] [MessagingDescription("The default body buffer size to create, when the message is received.")] public: property int DefaultBodySize { int get(); void set ( int value); }
Property Value
The default body buffer size to create when the message is received. The default is 1024 bytes.Exceptions
Exception | Description |
---|---|
System.ArgumentException | The assigned value is negative. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also