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



In This Topic
    FormatName Property
    In This Topic
    Gets the unique queue name that Message Queuing generated at the time of the queue's creation.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property FormatName As String
    'Usage
     
    
    Dim instance As MessageQueue
    Dim value As String
     
    value = instance.FormatName
    public string FormatName {get;}
    public:
    property String^ FormatName {
       String^ get();
    }

    Property Value

    The name for the queue, which is unique on the network.
    Exceptions
    ExceptionDescription
    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