System.Messaging Reference (Document! X Sample)
CanWrite Property



System.Messaging Namespace > MessageQueue Class : CanWrite Property
Gets a value that indicates whether the MessageQueue can be written to.
Syntax
'Declaration
 
Public ReadOnly Property CanWrite As Boolean
'Usage
 
Dim instance As MessageQueue
Dim value As Boolean
 
value = instance.CanWrite
public bool CanWrite {get;}
public:
property bool CanWrite {
   bool get();
}

Property Value

true if the MessageQueue exists and the application can write to 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

Reference

MessageQueue Class
MessageQueue Members