XPathMessageQuery.Evaluate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Evaluates the XPath message query.
Overloads
Evaluate<TResult>(Message) |
Evaluates the XPath query against the specified Message. |
Evaluate<TResult>(MessageBuffer) |
Evaluates the XPath query against the specified MessageBuffer. |
Evaluate<TResult>(Message)
Evaluates the XPath query against the specified Message.
public:
generic <typename TResult>
override TResult Evaluate(System::ServiceModel::Channels::Message ^ message);
public override TResult Evaluate<TResult> (System.ServiceModel.Channels.Message message);
override this.Evaluate : System.ServiceModel.Channels.Message -> 'Result
Public Overrides Function Evaluate(Of TResult) (message As Message) As TResult
Type Parameters
- TResult
The type of data to retrieve.
Parameters
- message
- Message
The message to query.
Returns
The data retrieved from the message.
Applies to
Evaluate<TResult>(MessageBuffer)
Evaluates the XPath query against the specified MessageBuffer.
public:
generic <typename TResult>
override TResult Evaluate(System::ServiceModel::Channels::MessageBuffer ^ buffer);
public override TResult Evaluate<TResult> (System.ServiceModel.Channels.MessageBuffer buffer);
override this.Evaluate : System.ServiceModel.Channels.MessageBuffer -> 'Result
Public Overrides Function Evaluate(Of TResult) (buffer As MessageBuffer) As TResult
Type Parameters
- TResult
The type of data to retrieve.
Parameters
- buffer
- MessageBuffer
The message buffer to query.
Returns
The data retrieved from the message buffer.