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



In This Topic
    Category Property (MessageQueue)
    In This Topic
    Gets or sets the queue category.
    Syntax
    'Declaration
     
    
    Public Property Category As Guid
    'Usage
     
    
    Dim instance As MessageQueue
    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

    A System.Guid that represents the queue category (Message Queuing type identifier), which allows an application to categorize its queues. The default is Guid.empty.
    Exceptions
    ExceptionDescription
    The queue category was set to an invalid value.
    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