MessageQueryCollection::Evaluate<TResult> Method (Message^)
.NET Framework (current version)
Runs a query against the message and returns a result. The body cannot be queried.
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
Available since 4.0
Show: