XPathMessageFilter.CreateFilterTable<FilterData> 方法

定義

建立 XPathMessageFilterTable<TFilterData>,這個篩選條件具有與其相關聯的指定資料型別。Creates an XPathMessageFilterTable<TFilterData> that has a specified type of data associated with it.

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)

類型參數

FilterData

與資料表中篩選條件相關聯的資料。Data associated with the filters in the table.

傳回

IMessageFilterTable<FilterData>

IMessageFilterTable<TFilterData> 物件,可在其中加入與 FilterData 相關聯的篩選條件。An IMessageFilterTable<TFilterData> object to which filters associated with FilterData can be added.

備註

這個方法是由 MessageFilterTable<TFilterData> 所呼叫。This method is called by MessageFilterTable<TFilterData>. 使用者應該透過呼叫篩選資料表的建構函式來建立篩選資料表。Users should create a filter table by calling a constructor for the filter table. 這個實作會傳回 XPathMessageFilterTable<TFilterData> 的執行個體。This implementation returns an instance of XPathMessageFilterTable<TFilterData>.

適用於