MessagePropertyFilter.SetAll 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.
Specifies to retrieve all message properties when receiving a message.
public:
void SetAll();
public void SetAll ();
member this.SetAll : unit -> unit
Public Sub SetAll ()
Examples
The following code example calls the SetAll method.
// Set all of the queue's MessageReadPropertyFilter
// Boolean properties to true.
queue->MessageReadPropertyFilter->SetAll();
// Set all of the queue's MessageReadPropertyFilter Boolean properties
// to true.
queue.MessageReadPropertyFilter.SetAll();
Remarks
Use SetAll to set all Boolean MessagePropertyFilter properties to true
. This causes all message properties to be retrieved when receiving messages. SetAll does not affect the values for DefaultBodySize, DefaultExtensionSize, or DefaultLabelSize.
After calling SetAll, you can set individual filter values to false
in order to restrict the properties retrieved when the message is received.
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