MessageQueueCriteria.Label 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置在网络中筛选队列的标签。
public:
property System::String ^ Label { System::String ^ get(); void set(System::String ^ value); };
public string Label { get; set; }
member this.Label : string with get, set
Public Property Label As String
属性值
队列的标签。
例外
在读取属性之前, Label 应用程序未设置该属性。
注解
消息队列的标签是队列的应用程序定义说明。 消息队列没有任何固有含义。
如果在网络上搜索队列时仅按标签进行筛选,则可以使用专用于此目的的方法 GetPublicQueuesByLabel。 如果要搜索包含标签的多个条件,请设置此属性 Label 并将参数 GetPublicQueues传递到其中。