QueueName Property
Gets or sets the friendly name that identifies the queue.
Syntax
'Declaration <BrowsableAttribute(False)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <MessagingDescriptionAttribute("Specifies the friendly name that identifies the queue referenced by this object.")> Public Property QueueName As String
'Usage Dim instance As MessageQueue Dim value As String instance.QueueName = value value = instance.QueueName
[Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Specifies the friendly name that identifies the queue referenced by this object.")] public string QueueName {get; set;}
[Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Specifies the friendly name that identifies the queue referenced by this object.")] public: property String^ QueueName { String^ get(); void set ( String^ value); }
Property Value
The name that identifies the queue referenced by this MessageQueue. The value cannot be null.Exceptions
Exception | Description |
---|---|
System.ArgumentException | The queue name 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