Edit

Share via


XPathMessageQuery Constructors

Definition

Initializes a new instance of the XPathMessageQuery class.

Overloads

XPathMessageQuery()

Initializes a new instance of the XPathMessageQuery class.

XPathMessageQuery(String)

Initializes a new instance of the XPathMessageQuery class with the specified XPath expression.

XPathMessageQuery(String, XmlNamespaceManager)

Initializes a new instance of the XPathMessageQuery class with the specified XPath expression and XmlNamespaceManager.

XPathMessageQuery(String, XsltContext)

Initializes a new instance of the XPathMessageQuery class with the specified XPath expression and XsltContext.

XPathMessageQuery()

Initializes a new instance of the XPathMessageQuery class.

C#
public XPathMessageQuery();

Applies to

.NET Framework 4.8.1 and other versions
Product 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

XPathMessageQuery(String)

Initializes a new instance of the XPathMessageQuery class with the specified XPath expression.

C#
public XPathMessageQuery(string expression);

Parameters

expression
String

The XPath expression.

Applies to

.NET Framework 4.8.1 and other versions
Product 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

XPathMessageQuery(String, XmlNamespaceManager)

Initializes a new instance of the XPathMessageQuery class with the specified XPath expression and XmlNamespaceManager.

C#
public XPathMessageQuery(string expression, System.Xml.XmlNamespaceManager namespaces);

Parameters

expression
String

The XPath expression.

namespaces
XmlNamespaceManager

The XML namespace manager.

Applies to

.NET Framework 4.8.1 and other versions
Product 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

XPathMessageQuery(String, XsltContext)

Initializes a new instance of the XPathMessageQuery class with the specified XPath expression and XsltContext.

C#
public XPathMessageQuery(string expression, System.Xml.Xsl.XsltContext context);

Parameters

expression
String

The XPath expression.

context
XsltContext

The XSLT context.

Applies to

.NET Framework 4.8.1 and other versions
Product 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