Redigera

Dela via


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:
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

TResult

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

TResult

The data retrieved from the message buffer.

Applies to