MessageQueueCriteria.ClearAll Method
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.
Clears all properties from being built into a filter and puts all property values into a "not set" state.
public:
void ClearAll();
public void ClearAll ();
member this.ClearAll : unit -> unit
Public Sub ClearAll ()
Remarks
When you call ClearAll, the method sets flags related to each of the MessageQueueCriteria properties, which indicate that no properties are to be included when the application creates the search filter. ClearAll resets all properties that currently have values into a "not set" default state. Any properties that you subsequently change are combined using the logical AND
operator to define a new filter for the GetPublicQueues method. When you change the property, the method that sets the property also sets a flag to indicate that it should be included in the filter you are building.
You cannot remove individual properties from the search filter. Instead, you remove all properties from the filter by calling ClearAll, and then set the properties that you do want to build into the search filter.
Applies to
Atsauksmes
https://aka.ms/ContentUserFeedback.
Drīzumā: 2024. gada laikā mēs pakāpeniski pārtrauksim izmantot “GitHub problēmas” kā atsauksmju par saturu mehānismu un aizstāsim to ar jaunu atsauksmju sistēmu. Papildinformāciju skatiet:Iesniegt un skatīt atsauksmes par