System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueue Class / MessageReadPropertyFilter Property



In This Topic
    MessageReadPropertyFilter Property
    In This Topic
    Gets or sets the property filter for receiving or peeking messages.
    Syntax
    'Declaration
     
    
    Public Property MessageReadPropertyFilter As MessagePropertyFilter
    'Usage
     
    
    Dim instance As MessageQueue
    Dim value As MessagePropertyFilter
     
    instance.MessageReadPropertyFilter = value
     
    value = instance.MessageReadPropertyFilter
    public MessagePropertyFilter MessageReadPropertyFilter {get; set;}
    public:
    property MessagePropertyFilter^ MessageReadPropertyFilter {
       MessagePropertyFilter^ get();
       void set (    MessagePropertyFilter^ value);
    }

    Property Value

    The MessagePropertyFilter used by the queue to filter the set of properties it receives or peeks for each message.
    Exceptions
    ExceptionDescription
    The filter is null.
    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