PolicyParserException Constructor (String, Exception)

Initializes a new instance of the PolicyParserException class, using the specified message and inner exception.

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

Usage

'Usage
Dim message As String
Dim innerException As Exception
Dim policyParserException1 As New PolicyParserException(message, innerException)

Syntax

'Declaration
Public Sub New( _
    ByVal message As String, _
    ByVal innerException As Exception _
)
public PolicyParserException(
    string message, 
    Exception innerException
);
public: PolicyParserException(
    String^ message, 
    Exception^ innerException
);
public PolicyParserException(
    System.String message, 
    Exception innerException
);
public function PolicyParserException(
     message : String, 
     innerException : Exception
);

Parameters

  • message
    The error message that explains the reason for the exception.
  • innerException
    The System.Exception that is the cause of the current exception.

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

PolicyParserException Class
Microsoft.Web.Services2.Policy Namespace

Other Resources

PolicyParserException Members