MessageQueueCriteria.Label Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the label by which to filter queues in the network.
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
Property Value
The queues' label.
Exceptions
The application did not set the Label property before reading it.
Remarks
A message queue's label is an application-defined description of the queue. It does not have any intrinsic meaning to Message Queuing.
If you are filtering only by label when searching the queues on the network, you can use the method GetPublicQueuesByLabel, which is specifically designed for this purpose. If you are searching by multiple criteria that include the label, set this Label property and pass the parameter into GetPublicQueues.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om