MessagePropertyFilter Constructor ()

 

Initializes a new instance of the MessagePropertyFilter class and sets default values for all properties.

Namespace:   System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

public MessagePropertyFilter()

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

The following code example demonstrates the use of the MessagePropertyFilter constructor.

// Assign the queue a new MessageReadPropertyFilter.
queue.MessageReadPropertyFilter = new MessagePropertyFilter();

.NET Framework
Available since 1.1
Return to top
Show: