MessageFilterTable<TFilterData>.Contains Method

Definition

Determines whether the filter table contains a specified filter and its associated FilterData.

C#
public bool Contains(System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageFilter,TFilterData> item);

Parameters

item
KeyValuePair<MessageFilter,TFilterData>

The KeyValuePair<TKey,TValue> <MessageFilter, FilterData> to find in the table.

Returns

true if the filter/FilterData pair is contained in the filter table; otherwise false.

Implements

Remarks

This method implements the Contains method of ICollection<T>.

Applies to

Производ Верзије
.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