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 (Message^)

.NET Framework (current version)
 

Runs a query against the message and returns a result. The body cannot be queried.

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

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

Parameters

message
Type: System.ServiceModel.Channels::Message^

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 result of the query.

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