System.Messaging Reference (Document! X Sample)



DefaultLabelSize Property
Gets or sets the size, in bytes, of the default label buffer.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<MessagingDescriptionAttribute("The default label buffer size to create, when the message is received.")>
Public Property DefaultLabelSize As Integer
'Usage
 
Dim instance As MessagePropertyFilter
Dim value As Integer
 
instance.DefaultLabelSize = value
 
value = instance.DefaultLabelSize
[DefaultValue()]
[MessagingDescription("The default label buffer size to create, when the message is received.")]
public int DefaultLabelSize {get; set;}
[DefaultValue()]
[MessagingDescription("The default label buffer size to create, when the message is received.")]
public:
property int DefaultLabelSize {
   int get();
   void set (    int value);
}

Property Value

The default label buffer size to create when the message is received. The default is 255 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