EndpointReference.WriteTo(XmlWriter) Method

Definition

Writes the EndpointReference as a <wsa:EndpointReference> element to the specified XML writer.

public:
 void WriteTo(System::Xml::XmlWriter ^ writer);
public void WriteTo (System.Xml.XmlWriter writer);
member this.WriteTo : System.Xml.XmlWriter -> unit
Public Sub WriteTo (writer As XmlWriter)

Parameters

writer
XmlWriter

The XML writer to which to write the endpoint reference.

Remarks

Only supports writing the WS-Addressing 1.0 standard schema namespace. The wsa:Address element is written first with the value of the Uri property, then the other elements specified in the Details collection are written.

Applies to