MessageQueryCollection.Evaluate<TResult> Method (MessageBuffer)

.NET Framework 4.6 and 4.5

Runs a query against the message and returns a result.

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

public abstract IEnumerable<KeyValuePair<MessageQuery, TResult>> Evaluate<TResult>(
	MessageBuffer buffer
)

Type Parameters

TResult

The type of the object to return.

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.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft