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



In This Topic
    CanRead Property
    In This Topic
    Gets a value that indicates whether the MessageQueue can be read.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property CanRead As Boolean
    'Usage
     
    
    Dim instance As MessageQueue
    Dim value As Boolean
     
    value = instance.CanRead
    public bool CanRead {get;}
    public:
    property bool CanRead {
       bool get();
    }

    Property Value

    true if the MessageQueue exists and the application can read from it; otherwise, false.
    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