PSParseError Class

Provides information about a syntax error that was detected while parsing a script into tokens. This class cannot be inherited. This class is introduced in Windows PowerShell 2.0.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As PSParseError

'Declaration
Public NotInheritable Class PSParseError
public final class PSParseError
public final class PSParseError

A collection of these objects is used in the errors parameter of the Tokenize method.


System.Object
  System.Management.Automation.PSParseError

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

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft