Rediger

Del via


ActionMessageFilter.CreateFilterTable<FilterData> Method

Definition

Creates a new filter table that tests efficiently on message actions.

protected public:
generic <typename FilterData>
 override System::ServiceModel::Dispatcher::IMessageFilterTable<FilterData> ^ CreateFilterTable();
protected internal override System.ServiceModel.Dispatcher.IMessageFilterTable<FilterData> CreateFilterTable<FilterData> ();
override this.CreateFilterTable : unit -> System.ServiceModel.Dispatcher.IMessageFilterTable<'FilterData>
Protected Friend Overrides Function CreateFilterTable(Of FilterData) () As IMessageFilterTable(Of FilterData)

Type Parameters

FilterData

Data associated with the filters in the table.

Returns

IMessageFilterTable<FilterData>

An IMessageFilterTable<TFilterData> object to which ActionMessageFilters and associated FilterData can be added.

Remarks

The method returns an instance of IMessageFilterTable<TFilterData>.

This method is not intended to be called directly. If you require an instance of IMessageFilterTable<TFilterData>, create one by calling a constructor on the desired type of filter table. In general, ActionMessageFilters should be added to instances of MessageFilterTable<TFilterData>.

Applies to