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: