Share via


PolicyDocumentException Class

The exception that is thrown when an error occurs in a policy document.

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

Usage

'Usage
Dim msg As String
Dim policyDocumentException1 As New PolicyDocumentException(msg)

Syntax

'Declaration
Public Class PolicyDocumentException
    Inherits ConfigurationException
public class PolicyDocumentException : ConfigurationException
public ref class PolicyDocumentException : public ConfigurationException
public class PolicyDocumentException extends ConfigurationException
public class PolicyDocumentException extends ConfigurationException

Remarks

This exception is typically thrown when a policy assertion or mapping element is not properly formed. For example, a policy assertion is not properly formed if a required attribute is missing or an element is not valid.

Inheritance Hierarchy

System.Object
  System.Exception
    System.SystemException
      System.Configuration.ConfigurationException
        Microsoft.Web.Services2.Policy.PolicyDocumentException

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

PolicyDocumentException Members