MessageFilterTable<TFilterData>.Remove Método
Definição
Remove um filtro e seus dados de filtro associados da tabela.Removes a filter and its associated filter data from the table.
Sobrecargas
| Remove(KeyValuePair<MessageFilter,TFilterData>) |
Remove um par filtro/ |
| Remove(MessageFilter) |
Remove um filtro e seu |
Remove(KeyValuePair<MessageFilter,TFilterData>)
Remove um par filtro/FilterData da tabela de filtros.Removes a specified filter/FilterData pair 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
Parâmetros
- item
- KeyValuePair<MessageFilter,TFilterData>
O KeyValuePair<TKey,TValue> <Filter, FilterData> a ser removido da tabela.The KeyValuePair<TKey,TValue> <Filter, FilterData> to remove from the table.
Retornos
true se o par filtro/FilterData tiver sido encontrado e removido; false se ele não tiver sido encontrado.true if the filter/FilterData pair was found and removed; false if it was not found.
Implementações
Exceções
filter é null.filter is null.
Comentários
Se a chave de filtro do item estiver presente, mas estiver associada a dados que difere do FilterData , o método não removerá o filtro e retornará 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.
Esse método implementa ICollection<T>.Remove.This method implements ICollection<T>.Remove.
Aplica-se a
Remove(MessageFilter)
Remove um filtro e seu FilterData associado da tabela de filtros.Removes a filter and its associated FilterData 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
Parâmetros
- filter
- MessageFilter
O MessageFilter a ser removido.The MessageFilter to remove.
Retornos
true se o filtro tiver sido encontrado e removido; false se ele não tiver sido encontrado.true if the filter was found and removed; false if it was not found.
Implementações
Exceções
filter é null.filter is null.
Comentários
Esse método implementa ICollection<T>.Remove.This method implements ICollection<T>.Remove.