Bewerken

Delen via


MessagePropertyFilter Constructor

Definition

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