System.Messaging Reference (Document! X Sample)
DefaultBodySize Property



System.Messaging Namespace > MessagePropertyFilter Class : DefaultBodySize Property
Gets or sets the size, in bytes, of the default body buffer.
Syntax
'Declaration
 
Public Property DefaultBodySize As Integer
'Usage
 
Dim instance As MessagePropertyFilter
Dim value As Integer
 
instance.DefaultBodySize = value
 
value = instance.DefaultBodySize
public int DefaultBodySize {get; set;}
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
ExceptionDescription
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

Reference

MessagePropertyFilter Class
MessagePropertyFilter Members