CanWrite Property
Gets a value that indicates whether the MessageQueue can be written to.
Syntax
'Declaration <BrowsableAttribute(False)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <MessagingDescriptionAttribute("Indicates if the queue has write permission.")> Public ReadOnly Property CanWrite As Boolean
'Usage Dim instance As MessageQueue Dim value As Boolean value = instance.CanWrite
[Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Indicates if the queue has write permission.")] public bool CanWrite {get;}
[Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Indicates if the queue has write permission.")] 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