XPathMessageFilterTable<TFilterData>.Remove Metoda

Definice

Odebere filtr a přidružená data filtru z tabulky filtru.Removes a filter and its associated filter data from the filter table.

Přetížení

Remove(KeyValuePair<MessageFilter,TFilterData>)

Odebere filtr a přidružená data filtru z tabulky filtru.Removes a filter and its associated filter data from the filter table.

Remove(MessageFilter)

Odebere filtr a přidružená data filtru z tabulky filtru.Removes a filter and its associated filter data from the filter table.

Remove(XPathMessageFilter)

Odebere XPathMessageFilter a jeho přidružená data filtru z tabulky filtru.Removes an XPathMessageFilter and its associated filter data from the filter table.

Remove(KeyValuePair<MessageFilter,TFilterData>)

Odebere filtr a přidružená data filtru z tabulky filtru.Removes a filter and its associated filter data from the filter table.

public:
 virtual bool Remove(System::Collections::Generic::KeyValuePair<System::ServiceModel::Dispatcher::MessageFilter ^, TFilterData> item);
public bool Remove (System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageFilter,TFilterData> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageFilter, 'FilterData> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageFilter, 'FilterData> -> bool
Public Function Remove (item As KeyValuePair(Of MessageFilter, TFilterData)) As Boolean

Parametry

item
KeyValuePair<MessageFilter,TFilterData>

KeyValuePair<TKey,TValue> < Filtr, který se fulltextových > pro odebrání z tabulkyThe KeyValuePair<TKey,TValue> <Filter, FilterData> to remove from the table.

Návraty

Boolean

trueFilterDatabyl nalezen a odstraněn filtr/pár, pokud nebyl false nalezen.true if the filter/FilterData pair was found and removed; false if it was not found.

Implementuje

Poznámky

Pokud je item k dispozici klíč filtru, ale je přidružen k datům, která se liší od FilterData , metoda neodstraní filtr a vrátí hodnotu false .If the filter key of the item is present but is associated with data that differs from the FilterData, the method fails to remove the filter and returns false.

Platí pro

Remove(MessageFilter)

Odebere filtr a přidružená data filtru z tabulky filtru.Removes a filter and its associated filter data from the filter table.

public:
 virtual bool Remove(System::ServiceModel::Dispatcher::MessageFilter ^ filter);
public bool Remove (System.ServiceModel.Dispatcher.MessageFilter filter);
abstract member Remove : System.ServiceModel.Dispatcher.MessageFilter -> bool
override this.Remove : System.ServiceModel.Dispatcher.MessageFilter -> bool
Public Function Remove (filter As MessageFilter) As Boolean

Parametry

filter
MessageFilter

MessageFilterPro odebrání.The MessageFilter to remove.

Návraty

Boolean

true Pokud byl filtr nalezen a odebrán; v opačném případě false .true if the filter was found and removed; otherwise, false.

Implementuje

Výjimky

filter je null.filter is null.

Platí pro

Remove(XPathMessageFilter)

Odebere XPathMessageFilter a jeho přidružená data filtru z tabulky filtru.Removes an XPathMessageFilter and its associated filter data from the filter table.

public:
 bool Remove(System::ServiceModel::Dispatcher::XPathMessageFilter ^ filter);
public bool Remove (System.ServiceModel.Dispatcher.XPathMessageFilter filter);
member this.Remove : System.ServiceModel.Dispatcher.XPathMessageFilter -> bool
Public Function Remove (filter As XPathMessageFilter) As Boolean

Parametry

filter
XPathMessageFilter

XPathMessageFilterPro odebrání.The XPathMessageFilter to remove.

Návraty

Boolean

true Pokud XPathMessageFilter byla nalezena a odebrána; v opačném případě false .true if the XPathMessageFilter was found and removed; otherwise, false.

Výjimky

filter je null.filter is null.

Poznámky

Tato metoda nevyvolá výjimku, pokud zadaný filtr v tabulce filtru neexistuje.This method does not throw an exception if the specified filter does not exist in the filter table.

Platí pro