MessagePropertyFilter Constructor
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.
Initializes a new instance of the MessagePropertyFilter class and sets default values for all properties.
public:
MessagePropertyFilter();
public MessagePropertyFilter ();
Public Sub New ()
Examples
The following code example demonstrates the use of the MessagePropertyFilter constructor.
// Assign the queue a new MessageReadPropertyFilter.
queue->MessageReadPropertyFilter =
gcnew MessagePropertyFilter;
// Assign the queue a new MessageReadPropertyFilter.
queue.MessageReadPropertyFilter = new MessagePropertyFilter();
Remarks
The MessagePropertyFilter constructor sets all Boolean values to false
and sets the integer-valued properties to the default values shown in the following table.
Property | Default value |
---|---|
DefaultBodySize | 1024 |
DefaultExtensionSize | 255 |
DefaultLabelSize | 255 |
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.