Upravit

Sdílet prostřednictvím


XPathMessageContext Constructors

Definition

Creates an instance of XPathMessageContext.

Overloads

XPathMessageContext()

Creates an instance of XPathMessageContext.

XPathMessageContext(NameTable)

Initializes a new instance of the XPathMessageContext class with the specified NameTable.

XPathMessageContext()

Creates an instance of XPathMessageContext.

public:
 XPathMessageContext();
public XPathMessageContext ();
Public Sub New ()

Applies to

XPathMessageContext(NameTable)

Initializes a new instance of the XPathMessageContext class with the specified NameTable.

public:
 XPathMessageContext(System::Xml::NameTable ^ table);
public XPathMessageContext (System.Xml.NameTable table);
new System.ServiceModel.Dispatcher.XPathMessageContext : System.Xml.NameTable -> System.ServiceModel.Dispatcher.XPathMessageContext
Public Sub New (table As NameTable)

Parameters

table
NameTable

A NameTable class used internally to store strings.

Remarks

Several classes including this one, XmlDocument, and XmlReader use the NameTable class internally to store attribute and element names. When an element or attribute name occurs multiple times in an XML document, it is stored only once in the NameTable. The names are stored as common language runtime (CLR) object types. This enables you to do object comparisons on these strings rather than a more expensive string comparison.

Applies to