MessageFilterTable<TFilterData>.Remove 메서드

정의

필터 및 필터와 연결된 필터 데이터를 테이블에서 제거합니다.

오버로드

Remove(KeyValuePair<MessageFilter,TFilterData>)

지정된 필터/FilterData 쌍을 필터 테이블에서 제거합니다.

Remove(MessageFilter)

필터 및 필터와 연결된 FilterData를 필터 테이블에서 제거합니다.

Remove(KeyValuePair<MessageFilter,TFilterData>)

지정된 필터/FilterData 쌍을 필터 테이블에서 제거합니다.

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

매개 변수

item
KeyValuePair<MessageFilter,TFilterData>

테이블에서 제거할 KeyValuePair<TKey,TValue> <필터, FilterData>입니다.

반환

Boolean

필터/true 쌍을 찾아 제거하면 FilterData이고, 해당 쌍을 찾을 수 없으면 false입니다.

구현

예외

filter이(가) null인 경우

설명

item의 필터 키가 있지만 FilterData와 다른 데이터에 연결되어 있는 경우, 이 메서드는 필터를 제거하지 못하고 false를 반환합니다.

이 메서드는 ICollection<T>.Remove를 구현합니다.

적용 대상

Remove(MessageFilter)

필터 및 필터와 연결된 FilterData를 필터 테이블에서 제거합니다.

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

매개 변수

filter
MessageFilter

제거할 MessageFilter입니다.

반환

Boolean

필터를 찾아 제거하면 true이고, 필터를 찾을 수 없으면 false입니다.

구현

예외

filter이(가) null인 경우

설명

이 메서드는 ICollection<T>.Remove를 구현합니다.

적용 대상