Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MessageQueryCollection::Evaluate<TResult> Method (MessageBuffer^)

.NET Framework (current version)
 

Runs a query against the message and returns a result.

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
generic<typename TResult>
virtual IEnumerable<KeyValuePair<MessageQuery^, TResult>>^ Evaluate(
	MessageBuffer^ buffer
) abstract

Parameters

buffer
Type: System.ServiceModel.Channels::MessageBuffer^

The message to run the query against.

Return Value

Type: System.Collections.Generic::IEnumerable<KeyValuePair<MessageQuery^, TResult>>^

The result of the query. The type is determined by the generic TResult argument.

Type Parameters

TResult

The type of the object to return.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft