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 abstract IEnumerable<KeyValuePair<MessageQuery, TResult>> Evaluate<TResult>(
	MessageBuffer buffer
)

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: