PolicyAssertion Class

Provides a base class for defining a policy assertion.

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

Usage

'Usage
Dim qName As XmlQualifiedName
Dim element As XmlElement
Dim policyAssertion1 As New PolicyAssertion(qName, element)

Syntax

'Declaration
MustInherit Public Class PolicyAssertion
    Inherits PolicyElement
public abstract class PolicyAssertion : PolicyElement
public abstract ref class PolicyAssertion : public PolicyElement
public abstract class PolicyAssertion extends PolicyElement
public abstract class PolicyAssertion extends PolicyElement

Remarks

To activate a policy assertion, register it by adding an <assertion> Element under the <policy> Element in the configuration file.

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services2.Policy.PolicyElement
    Microsoft.Web.Services2.Policy.PolicyAssertion

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

Microsoft.Web.Services2.Policy Namespace

Other Resources

PolicyAssertion Members
ms826595(v=msdn.10).md