Partilhar via


XPathMessageFilter.WriteXPath(XmlWriter, IXmlNamespaceResolver) Método

Definição

Serializa o filtro XPath para um XmlWriter.

protected:
 void WriteXPath(System::Xml::XmlWriter ^ writer, System::Xml::IXmlNamespaceResolver ^ resolver);
protected void WriteXPath (System.Xml.XmlWriter writer, System.Xml.IXmlNamespaceResolver resolver);
member this.WriteXPath : System.Xml.XmlWriter * System.Xml.IXmlNamespaceResolver -> unit
Protected Sub WriteXPath (writer As XmlWriter, resolver As IXmlNamespaceResolver)

Parâmetros

writer
XmlWriter

O XmlWriter usado para serializar o filtro XPath.

resolver
IXmlNamespaceResolver

O IXmlNamespaceResolver usado para resolver qualquer conflito de namespace para o filtro XPath.

Comentários

O writer deve estar no estado de início . Do contrário, uma exceção será acionada.

Aplica-se a