XPathMessageFilterTable<TFilterData>.GetMatchingFilter 메서드

정의

지정한 메시지 또는 버퍼링된 메시지에 의해 테이블에서 정확히 하나의 필터에 대한 일치 조건을 충족하는지 여부를 나타내는 값을 반환하고 매개 변수에서 해당 필터를 out 반환합니다.

오버로드

Name Description
GetMatchingFilter(Message, MessageFilter)

테이블에서 정확히 하나의 필터에 대한 일치 기준이 지정된 메시지에 의해 충족되는지 여부를 나타내는 값을 반환하고 매개 변수에서 해당 필터를 out 반환합니다.

GetMatchingFilter(MessageBuffer, MessageFilter)

지정한 메시지 또는 버퍼링된 메시지에 의해 테이블에서 정확히 하나의 필터에 대한 일치 조건을 충족하는지 여부를 나타내는 값을 반환하고 매개 변수에서 해당 필터를 out 반환합니다.

GetMatchingFilter(SeekableXPathNavigator, MessageFilter)

지정한 메시지 또는 버퍼링된 메시지에 의해 테이블에 있는 정확히 하나의 SeekableXPathNavigator 일치 조건을 충족하는지 여부를 나타내는 값을 반환하고 매개 변수에서 해당 필터를 out 반환합니다.

GetMatchingFilter(XPathNavigator, MessageFilter)

지정한 메시지 또는 버퍼링된 메시지에 의해 테이블에 있는 정확히 하나의 XPathNavigator 일치 조건을 충족하는지 여부를 나타내는 값을 반환하고 매개 변수에서 해당 필터를 out 반환합니다.

설명

메시지가 필터 테이블의 필터 중 하나만 충족하는지 여부를 테스트합니다.

GetMatchingFilter(Message, MessageFilter)

테이블에서 정확히 하나의 필터에 대한 일치 기준이 지정된 메시지에 의해 충족되는지 여부를 나타내는 값을 반환하고 매개 변수에서 해당 필터를 out 반환합니다.

public:
 virtual bool GetMatchingFilter(System::ServiceModel::Channels::Message ^ message, [Runtime::InteropServices::Out] System::ServiceModel::Dispatcher::MessageFilter ^ % filter);
public bool GetMatchingFilter(System.ServiceModel.Channels.Message message, out System.ServiceModel.Dispatcher.MessageFilter filter);
abstract member GetMatchingFilter : System.ServiceModel.Channels.Message * MessageFilter -> bool
override this.GetMatchingFilter : System.ServiceModel.Channels.Message * MessageFilter -> bool
Public Function GetMatchingFilter (message As Message, ByRef filter As MessageFilter) As Boolean

매개 변수

message
Message

Message 테스트할 수 있습니다.

filter
MessageFilter

out 에 의해 충족message되는 필터를 저장하는 매개 변수입니다. 필터를 찾을 수 없으면 매개 변수가 기본값으로 설정됩니다.

반품

MessageFilter 메시지에 null 의해 쿼리 조건이 충족되거나 일치하는 필터가 없는 경우

구현

예외

messagenull입니다.

둘 이상의 필터가 message.

필터가 메시지 본문의 내용을 검사하려고 했습니다.

설명

단일 필터가 메시지와 일치해야 하고 일치하는 필터가 필요한 경우 이 메서드를 사용합니다.

이 메서드는 우선 순위가 가장 높은 필터 버킷에서 단일 필터 일치를 테스트합니다. 테이블의 필터는 메시지 본문을 검사할 수 없습니다.

둘 이상의 필터가 메시지와 일치해야 하는 경우 다음을 GetMatchingFilters사용합니다.

이 메서드는 GetMatchingFilter를 구현합니다.

적용 대상

GetMatchingFilter(MessageBuffer, MessageFilter)

지정한 메시지 또는 버퍼링된 메시지에 의해 테이블에서 정확히 하나의 필터에 대한 일치 조건을 충족하는지 여부를 나타내는 값을 반환하고 매개 변수에서 해당 필터를 out 반환합니다.

public:
 virtual bool GetMatchingFilter(System::ServiceModel::Channels::MessageBuffer ^ messageBuffer, [Runtime::InteropServices::Out] System::ServiceModel::Dispatcher::MessageFilter ^ % filter);
public bool GetMatchingFilter(System.ServiceModel.Channels.MessageBuffer messageBuffer, out System.ServiceModel.Dispatcher.MessageFilter filter);
abstract member GetMatchingFilter : System.ServiceModel.Channels.MessageBuffer * MessageFilter -> bool
override this.GetMatchingFilter : System.ServiceModel.Channels.MessageBuffer * MessageFilter -> bool
Public Function GetMatchingFilter (messageBuffer As MessageBuffer, ByRef filter As MessageFilter) As Boolean

매개 변수

messageBuffer
MessageBuffer

MessageBuffer 테스트할 수 있습니다.

filter
MessageFilter

out 에 의해 충족message되는 필터를 저장하는 매개 변수입니다. 필터를 찾을 수 없으면 매개 변수가 기본값으로 설정됩니다.

반품

MessageFilter 버퍼링된 메시지에 null 의해 쿼리 조건이 충족되거나 일치하는 필터가 없는 경우

구현

예외

messageBuffernull입니다.

둘 이상의 필터가 messageBuffer.

설명

단일 필터가 버퍼링된 메시지와 일치해야 하고 일치하는 필터가 필요한 경우 이 메서드를 사용합니다.

테이블의 필터는 메시지 본문을 검사할 수 있습니다.

둘 이상의 필터가 메시지와 일치해야 하는 경우 다음을 GetMatchingFilters사용합니다.

이 메서드는 GetMatchingFilter를 구현합니다.

적용 대상

GetMatchingFilter(SeekableXPathNavigator, MessageFilter)

지정한 메시지 또는 버퍼링된 메시지에 의해 테이블에 있는 정확히 하나의 SeekableXPathNavigator 일치 조건을 충족하는지 여부를 나타내는 값을 반환하고 매개 변수에서 해당 필터를 out 반환합니다.

public:
 bool GetMatchingFilter(System::ServiceModel::Dispatcher::SeekableXPathNavigator ^ navigator, [Runtime::InteropServices::Out] System::ServiceModel::Dispatcher::MessageFilter ^ % filter);
public bool GetMatchingFilter(System.ServiceModel.Dispatcher.SeekableXPathNavigator navigator, out System.ServiceModel.Dispatcher.MessageFilter filter);
member this.GetMatchingFilter : System.ServiceModel.Dispatcher.SeekableXPathNavigator * MessageFilter -> bool
Public Function GetMatchingFilter (navigator As SeekableXPathNavigator, ByRef filter As MessageFilter) As Boolean

매개 변수

navigator
SeekableXPathNavigator

SeekableXPathNavigator 테스트할 수 있습니다.

filter
MessageFilter

out 에 의해 충족message되는 필터를 저장하는 매개 변수입니다. 필터를 찾을 수 없으면 매개 변수가 기본값으로 설정됩니다.

반품

MessageFilter 탐색기에서 쿼리 조건을 충족하거나 null 일치하는 필터를 찾을 수 없는 경우

예외

navigatornull입니다.

둘 이상의 필터가 navigator.

설명

단일 필터가 지정된 SeekableXPathNavigator 메시지와 일치해야 하고 일치하는 필터가 필요한 경우 이 메서드를 사용합니다.

둘 이상의 필터가 메시지와 일치해야 하는 경우 다음을 GetMatchingFilters사용합니다.

적용 대상

GetMatchingFilter(XPathNavigator, MessageFilter)

지정한 메시지 또는 버퍼링된 메시지에 의해 테이블에 있는 정확히 하나의 XPathNavigator 일치 조건을 충족하는지 여부를 나타내는 값을 반환하고 매개 변수에서 해당 필터를 out 반환합니다.

public:
 bool GetMatchingFilter(System::Xml::XPath::XPathNavigator ^ navigator, [Runtime::InteropServices::Out] System::ServiceModel::Dispatcher::MessageFilter ^ % filter);
public bool GetMatchingFilter(System.Xml.XPath.XPathNavigator navigator, out System.ServiceModel.Dispatcher.MessageFilter filter);
member this.GetMatchingFilter : System.Xml.XPath.XPathNavigator * MessageFilter -> bool
Public Function GetMatchingFilter (navigator As XPathNavigator, ByRef filter As MessageFilter) As Boolean

매개 변수

navigator
XPathNavigator

XPathNavigator 테스트할 수 있습니다.

filter
MessageFilter

out 에 의해 충족navigator되는 필터를 저장하는 매개 변수입니다. 필터를 찾을 수 없으면 매개 변수가 기본값으로 설정됩니다.

반품

MessageFilter 탐색기에서 쿼리 조건을 충족하거나 null 일치하는 필터를 찾을 수 없는 경우

예외

navigatornull입니다.

둘 이상의 필터가 navigator.

설명

단일 필터가 지정된 XPathNavigator 메시지와 일치해야 하고 일치하는 필터가 필요한 경우 이 메서드를 사용합니다.

둘 이상의 필터가 메시지와 일치해야 하는 경우 다음을 GetMatchingFilters사용합니다.

적용 대상