FormatName Property
Gets the unique queue name that Message Queuing generated at the time of the queue's creation.
Syntax
'Declaration <MessagingDescriptionAttribute("Specifies a unique name for the queue generated by MSMQ when it is created.")> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> Public ReadOnly Property FormatName As String
'Usage Dim instance As MessageQueue Dim value As String value = instance.FormatName
[MessagingDescription("Specifies a unique name for the queue generated by MSMQ when it is created.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string FormatName {get;}
[MessagingDescription("Specifies a unique name for the queue generated by MSMQ when it is created.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public: property String^ FormatName { String^ get(); }
Property Value
The name for the queue, which is unique on the network.Exceptions
Exception | Description |
---|---|
MessageQueueException | The Path is not set.-or- An error occurred when accessing a Message Queuing method. |
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