XPathMessageQuery.Evaluate Method

Definition

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 override TResult Evaluate<TResult> (System.ServiceModel.Channels.Message message);

Type Parameters

TResult

The type of data to retrieve.

Parameters

message
Message

The message to query.

Returns

TResult

The data retrieved from the message.

Applies to

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Evaluate<TResult>(MessageBuffer)

Evaluates the XPath query against the specified MessageBuffer.

public override TResult Evaluate<TResult> (System.ServiceModel.Channels.MessageBuffer buffer);

Type Parameters

TResult

The type of data to retrieve.

Parameters

buffer
MessageBuffer

The message buffer to query.

Returns

TResult

The data retrieved from the message buffer.

Applies to

.NET Framework 4.8.1 et autres versions
Produit Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1