Condividi tramite


EndpointAddressBuilder.SetExtensionReader(XmlDictionaryReader) Metodo

Definizione

Specifica il lettore di dizionario XML contenente le estensioni dell'indirizzo endpoint.

public:
 void SetExtensionReader(System::Xml::XmlDictionaryReader ^ reader);
public void SetExtensionReader (System.Xml.XmlDictionaryReader reader);
member this.SetExtensionReader : System.Xml.XmlDictionaryReader -> unit
Public Sub SetExtensionReader (reader As XmlDictionaryReader)

Parametri

reader
XmlDictionaryReader

Lettore XmlDictionaryReader delle estensioni dell'endpoint.

Esempio

StringReader sr = new StringReader(@"<myExtension xmlns=""myExtNs"" />");
eab.SetExtensionReader(XmlDictionaryReader.CreateDictionaryReader(XmlReader.Create(sr)));
Dim sr As New StringReader("<myExtension xmlns=""myExtNs"" />")
eab.SetExtensionReader(XmlDictionaryReader.CreateDictionaryReader(XmlReader.Create(sr)))

Si applica a