System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessagePropertyFilter Class / DefaultLabelSize Property



In This Topic
    DefaultLabelSize Property
    In This Topic
    Gets or sets the size, in bytes, of the default label buffer.
    Syntax
    'Declaration
     
    
    Public Property DefaultLabelSize As Integer
    'Usage
     
    
    Dim instance As MessagePropertyFilter
    Dim value As Integer
     
    instance.DefaultLabelSize = value
     
    value = instance.DefaultLabelSize
    public int DefaultLabelSize {get; set;}
    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