MessageFilterTable<TFilterData> Constructors

Definition

Initializes a new instance of the MessageFilterTable<TFilterData> class.

Overloads

MessageFilterTable<TFilterData>()

Initializes a new instance of the MessageFilterTable<TFilterData> class with a default priority of 0.

MessageFilterTable<TFilterData>(Int32)

Initializes a new instance of the MessageFilterTable<TFilterData> class with the specified initial default priority.

MessageFilterTable<TFilterData>()

Initializes a new instance of the MessageFilterTable<TFilterData> class with a default priority of 0.

C#
public MessageFilterTable();

Remarks

The larger the integer assigned to a filter table, the higher its priority for use in inspecting messages for a match. The default priority can be specified using MessageFilterTable<TFilterData>.

Applies to

.NET Framework 4.8.1 и друге верзије
Производ Верзије
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

MessageFilterTable<TFilterData>(Int32)

Initializes a new instance of the MessageFilterTable<TFilterData> class with the specified initial default priority.

C#
public MessageFilterTable(int defaultPriority);

Parameters

defaultPriority
Int32

The default priority for filter table.

Remarks

The larger the integer assigned to a filter table, the higher its priority for use in inspecting messages for a match. The parameterless constructor assigns a defaultPriority of 0.

Applies to

.NET Framework 4.8.1 и друге верзије
Производ Верзије
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1