Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MessageQueueInstaller.Category Property

Gets or sets an implementation-specific queue type.

Namespace:  System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

[TypeConverterAttribute("System.ComponentModel.GuidConverter, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
public Guid Category { get; set; }

Property Value

Type: System.Guid
A Guid that represents the queue category (or Message Queuing type identifier), which allows applications to categorize their queues according to how they are used. The default is Guid.empty.

The queue category enables an application to categorize associated queues according to the way they are used. The Category can be a null reference. You can also define a new category.

The Category property provides access to the Message Queuing type identifier property, which is associated with a particular queue and is read/write. You can use the NewGuid method to create a category value that is guaranteed to be unique across all Guid values. However, it is necessary only for the category value to be distinct from other categories, not from all other Guid values. For example, you can set the Category for one group of queues to {00000000-0000-0000-0000-000000000001} and the Category for another group to {00000000-0000-0000-0000-000000000002}.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft