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



In This Topic
    MessageType Property (MessagePropertyFilter)
    In This Topic
    Gets or sets a value that indicates whether to retrieve MessageType property information when receiving or peeking a message.
    Syntax
    'Declaration
     
    
    Public Property MessageType As Boolean
    'Usage
     
    
    Dim instance As MessagePropertyFilter
    Dim value As Boolean
     
    instance.MessageType = value
     
    value = instance.MessageType
    public bool MessageType {get; set;}
    public:
    property bool MessageType {
       bool get();
       void set (    bool value);
    }

    Property Value

    true to receive MessageType information; otherwise, false. The default is true.
    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