XPathMessageFilterTable<TFilterData>.GetMatchingValues XPathMessageFilterTable<TFilterData>.GetMatchingValues XPathMessageFilterTable<TFilterData>.GetMatchingValues XPathMessageFilterTable<TFilterData>.GetMatchingValues Method

Definition

Returns a value that indicates whether the match criterion of at least one filter in the table is satisfied by the specified message or buffered message and adds the FilterData of the matching filters to a collection.

Overloads

GetMatchingValues(Message, ICollection<TFilterData>) GetMatchingValues(Message, ICollection<TFilterData>) GetMatchingValues(Message, ICollection<TFilterData>)

Returns a value that indicates whether the match criterion of at least one filter in the table is satisfied by the specified message and adds the filter data of the matching filters to a collection.

GetMatchingValues(MessageBuffer, ICollection<TFilterData>) GetMatchingValues(MessageBuffer, ICollection<TFilterData>) GetMatchingValues(MessageBuffer, ICollection<TFilterData>)

Returns a value that indicates whether the match criterion of at least one filter in the table is satisfied by the specified buffered message and adds the filter data of the matching filters to a collection.

GetMatchingValues(SeekableXPathNavigator, ICollection<TFilterData>) GetMatchingValues(SeekableXPathNavigator, ICollection<TFilterData>) GetMatchingValues(SeekableXPathNavigator, ICollection<TFilterData>) GetMatchingValues(SeekableXPathNavigator, ICollection<TFilterData>)

Returns a value that indicates whether the match criterion of at least one SeekableXPathNavigator in the table is satisfied by the navigator and adds the filter data of the matching filters to a collection.

GetMatchingValues(XPathNavigator, ICollection<TFilterData>) GetMatchingValues(XPathNavigator, ICollection<TFilterData>) GetMatchingValues(XPathNavigator, ICollection<TFilterData>) GetMatchingValues(XPathNavigator, ICollection<TFilterData>)

Returns a value that indicates whether the match criterion of at least one XPathNavigator in the table is satisfied by the navigator and adds the filter data of the matching filters to a collection.

Remarks

Use this method when more than one filter is expected to match the message or buffered message and only the FilterData is required.

GetMatchingValues(Message, ICollection<TFilterData>) GetMatchingValues(Message, ICollection<TFilterData>) GetMatchingValues(Message, ICollection<TFilterData>)

Returns a value that indicates whether the match criterion of at least one filter in the table is satisfied by the specified message and adds the filter data of the matching filters to a collection.

public:
 virtual bool GetMatchingValues(System::ServiceModel::Channels::Message ^ message, System::Collections::Generic::ICollection<TFilterData> ^ results);
public bool GetMatchingValues (System.ServiceModel.Channels.Message message, System.Collections.Generic.ICollection<TFilterData> results);
abstract member GetMatchingValues : System.ServiceModel.Channels.Message * System.Collections.Generic.ICollection<'FilterData> -> bool
override this.GetMatchingValues : System.ServiceModel.Channels.Message * System.Collections.Generic.ICollection<'FilterData> -> bool

Parameters

message
Message Message Message Message

The Message to test.

results
ICollection<TFilterData>

The reference parameter that stores the filter data of the matching filters in a generic ICollection<T><FilterData>.

Returns

true if match criterion of at least one filter in the table is satisfied by message; false if no filter is satisfied.

Implements

Exceptions

Remarks

Use this method when more than one filter is expected to match the message, only the filter data is required, and the body of the message is not inspected.

The filter data of the matching MessageFilter objects are stored in the results parameter of ICollection<T>.

This method implements GetMatchingValues.

GetMatchingValues(MessageBuffer, ICollection<TFilterData>) GetMatchingValues(MessageBuffer, ICollection<TFilterData>) GetMatchingValues(MessageBuffer, ICollection<TFilterData>)

Returns a value that indicates whether the match criterion of at least one filter in the table is satisfied by the specified buffered message and adds the filter data of the matching filters to a collection.

public:
 virtual bool GetMatchingValues(System::ServiceModel::Channels::MessageBuffer ^ messageBuffer, System::Collections::Generic::ICollection<TFilterData> ^ results);
public bool GetMatchingValues (System.ServiceModel.Channels.MessageBuffer messageBuffer, System.Collections.Generic.ICollection<TFilterData> results);
abstract member GetMatchingValues : System.ServiceModel.Channels.MessageBuffer * System.Collections.Generic.ICollection<'FilterData> -> bool
override this.GetMatchingValues : System.ServiceModel.Channels.MessageBuffer * System.Collections.Generic.ICollection<'FilterData> -> bool

Parameters

results
ICollection<TFilterData>

The reference parameter that stores the filter data of the matching filters in a generic ICollection<T><FilterData>.

Returns

true if the match criterion of at least one filter in the table is satisfied by message; false if no filter is satisfied.

Implements

Exceptions

Remarks

Use this method when more than one filter is expected to match the buffered message and only the filter data is required.

The filter data of the matching XPathMessageFilter objects are stored in the resultsICollection<T>.

This method implements GetMatchingValues.

GetMatchingValues(SeekableXPathNavigator, ICollection<TFilterData>) GetMatchingValues(SeekableXPathNavigator, ICollection<TFilterData>) GetMatchingValues(SeekableXPathNavigator, ICollection<TFilterData>) GetMatchingValues(SeekableXPathNavigator, ICollection<TFilterData>)

Returns a value that indicates whether the match criterion of at least one SeekableXPathNavigator in the table is satisfied by the navigator and adds the filter data of the matching filters to a collection.

public:
 bool GetMatchingValues(System::ServiceModel::Dispatcher::SeekableXPathNavigator ^ navigator, System::Collections::Generic::ICollection<TFilterData> ^ results);
public bool GetMatchingValues (System.ServiceModel.Dispatcher.SeekableXPathNavigator navigator, System.Collections.Generic.ICollection<TFilterData> results);
member this.GetMatchingValues : System.ServiceModel.Dispatcher.SeekableXPathNavigator * System.Collections.Generic.ICollection<'FilterData> -> bool
Public Function GetMatchingValues (navigator As SeekableXPathNavigator, results As ICollection(Of TFilterData)) As Boolean

Parameters

results
ICollection<TFilterData>

The reference parameter that stores the filter data of the matching filters in a generic ICollection<T><FilterData>.

Returns

true if the match criterion of at least one filter in the table is satisfied by the navigator; false if no filter is satisfied.

Exceptions

Remarks

Use this method when more than one filter is expected to match the query criteria of the XML document derived from the optimized XPath navigator SeekableXPathNavigator and only the filter data is required.

The filter data of the matching XPathMessageFilter objects are stored in the results parameter of ICollection<T>.

GetMatchingValues(XPathNavigator, ICollection<TFilterData>) GetMatchingValues(XPathNavigator, ICollection<TFilterData>) GetMatchingValues(XPathNavigator, ICollection<TFilterData>) GetMatchingValues(XPathNavigator, ICollection<TFilterData>)

Returns a value that indicates whether the match criterion of at least one XPathNavigator in the table is satisfied by the navigator and adds the filter data of the matching filters to a collection.

public:
 bool GetMatchingValues(System::Xml::XPath::XPathNavigator ^ navigator, System::Collections::Generic::ICollection<TFilterData> ^ results);
public bool GetMatchingValues (System.Xml.XPath.XPathNavigator navigator, System.Collections.Generic.ICollection<TFilterData> results);
member this.GetMatchingValues : System.Xml.XPath.XPathNavigator * System.Collections.Generic.ICollection<'FilterData> -> bool
Public Function GetMatchingValues (navigator As XPathNavigator, results As ICollection(Of TFilterData)) As Boolean

Parameters

results
ICollection<TFilterData>

The reference parameter that stores the filter data of the matching filters in a generic ICollection<T><FilterData>.

Returns

true if the match criterion of at least one filter in the table is satisfied by the navigator; false if no filter is satisfied.

Exceptions

Remarks

Use this method when more than one filter is expected to match the query criteria of the XML document derived from the optimized XPath navigator SeekableXPathNavigator and only the filter data is required.

The filter data of the matching XPathMessageFilter objects are stored in the results parameter of ICollection<T>.

Applies to