Category Property (MessageQueue)
Gets or sets the queue category.
Syntax
'Declaration <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <MessagingDescriptionAttribute("Allows applications to categorize their queues according to how they are used.")> Public Property Category As Guid
'Usage Dim instance As MessageQueue Dim value As Guid instance.Category = value value = instance.Category
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Allows applications to categorize their queues according to how they are used.")] public Guid Category {get; set;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Allows applications to categorize their queues according to how they are used.")] 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
Exception | Description |
---|---|
System.ArgumentException | The queue category was set to an invalid value. |
MessageQueueException | 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