System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueueCriteria Class / Label Property



In This Topic
    Label Property (MessageQueueCriteria)
    In This Topic
    Gets or sets the label by which to filter queues in the network.
    Syntax
    'Declaration
     
    
    Public Property Label As String
    'Usage
     
    
    Dim instance As MessageQueueCriteria
    Dim value As String
     
    instance.Label = value
     
    value = instance.Label
    public string Label {get; set;}
    public:
    property String^ Label {
       String^ get();
       void set (    String^ value);
    }

    Property Value

    The queues' label.
    Exceptions
    ExceptionDescription
    The application did not set the Label property before reading it.
    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