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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈