PolicyElement Constructor (XmlQualifiedName, XmlElement)

Initializes a new instance of the PolicyElement class using the specified element name and XML element.

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

Usage

'Usage
Dim elementName As XmlQualifiedName
Dim element As XmlElement
Dim policyElement1 As New PolicyElement(elementName, element)

Syntax

'Declaration
Protected Sub New( _
    ByVal elementName As XmlQualifiedName, _
    ByVal element As XmlElement _
)
protected PolicyElement(
    XmlQualifiedName elementName, 
    XmlElement element
);
protected: PolicyElement(
    XmlQualifiedName^ elementName, 
    XmlElement^ element
);
protected PolicyElement(
    XmlQualifiedName elementName, 
    XmlElement element
);
protected function PolicyElement(
     elementName : XmlQualifiedName, 
     element : XmlElement
);

Parameters

  • elementName
    The System.Xml.XmlQualifiedName of the policy element.
  • element
    The System.Xml.XmlElement representing the policy element.

Remarks

This member supports the Web Services Enhancements infrastructure and is not intended to be used directly from your code.

Remarks

Invokes LoadXml to do the actual work of parsing the XML.

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

PolicyElement Class
Microsoft.Web.Services2.Policy Namespace

Other Resources

PolicyElement Members