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



In This Topic
    QueueName Property
    In This Topic
    Gets or sets the friendly name that identifies the queue.
    Syntax
    'Declaration
     
    
    Public Property QueueName As String
    'Usage
     
    
    Dim instance As MessageQueue
    Dim value As String
     
    instance.QueueName = value
     
    value = instance.QueueName
    public string QueueName {get; set;}
    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
    ExceptionDescription
    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