XPathMessageQuery.Evaluate Method
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.
Evaluate<TResult>(Message) |
Evaluates the XPath query against the specified Message. |
Evaluate<TResult>(MessageBuffer) |
Evaluates the XPath query against the specified MessageBuffer. |
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
.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 |
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.
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 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :