MessageQueueCriteria.Category Propriedade

Definição

Obtém ou define a categoria pelo qual filtrar filas na rede.Gets or sets the category by which to filter queues in the network.

public:
 property Guid Category { Guid get(); void set(Guid value); };
public Guid Category { get; set; }
member this.Category : Guid with get, set
Public Property Category As Guid

Valor da propriedade

Guid

A categoria de filas.The queues' category.

Exceções

O aplicativo não definiu a propriedade Category antes da leitura.The application did not set the Category property before reading it.

Comentários

A categoria de fila permite que um aplicativo categorize suas filas.The queue category allows an application to categorize its queues. Por exemplo, você pode colocar todas as filas de cobrança em uma categoria e todas as filas de ordem em outra.For example, you can place all Billing queues in one category and all Order queues in another. A Category propriedade é definida pelo aplicativo e não tem significado intrínseco ao enfileiramento de mensagens.The Category property is application-defined and has no intrinsic meaning to Message Queuing.

Se você estiver filtrando somente por categoria ao pesquisar as filas na rede, poderá usar o método GetPublicQueuesByCategory , que foi especificamente projetado para essa finalidade.If you are filtering only by category when searching the queues on the network, you can use the method GetPublicQueuesByCategory, which is specifically designed for this purpose. Se você estiver pesquisando por vários critérios que incluem a categoria, defina essa Category propriedade e passe o parâmetro para GetPublicQueues .If you are searching by multiple criteria that include the category, set this Category property and pass the parameter into GetPublicQueues.

Aplica-se a

Confira também