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



In This Topic
    DefaultExtensionSize Property
    In This Topic
    Gets or sets the size, in bytes, of the default extension buffer.
    Syntax
    'Declaration
     
    
    Public Property DefaultExtensionSize As Integer
    'Usage
     
    
    Dim instance As MessagePropertyFilter
    Dim value As Integer
     
    instance.DefaultExtensionSize = value
     
    value = instance.DefaultExtensionSize
    public int DefaultExtensionSize {get; set;}
    public:
    property int DefaultExtensionSize {
       int get();
       void set (    int value);
    }

    Property Value

    The default extension 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