Share via


EndpointReference.GetXmlElements Method

Appends the child elements of the EndpointReference to the specified XML element.

Namespace: Microsoft.Web.Services2.Addressing
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Public Class endpointReferenceImplementation
    Inherits EndpointReference
        Protected Overrides Sub GetXmlElements(document As XmlDocument, _
            element As XmlElement)
            MyBase.GetXmlElements(document, element)
        End Sub
End Class

Syntax

'Declaration
Protected Overrides Sub GetXmlElements( _
    ByVal document As XmlDocument, _
    ByVal element As XmlElement _
)
protected override void GetXmlElements(
    XmlDocument document, 
    XmlElement element
);
protected: virtual Void GetXmlElements(
    XmlDocument^ document, 
    XmlElement^ element
);
protected void GetXmlElements(
    XmlDocument document, 
    XmlElement element
);
protected override function GetXmlElements(
     document : XmlDocument, 
     element : XmlElement
);

Parameters

  • document
    An System.Xml.XmlDocument that contains the DOM for the EndpointReference.
  • element
    The System.Xml.XmlElement to append the properties of the EndpointReference .

Exceptions

Exception type Condition
System.ArgumentNullException

document or element is null.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

EndpointReference Class
Microsoft.Web.Services2.Addressing Namespace

Other Resources

EndpointReference Members