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



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

    Property Value

    The queues' category.
    Exceptions
    ExceptionDescription
    The application did not set the Category 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