Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSParseError Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

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)

System.Object
  System.Management.Automation.PSParseError

public sealed class PSParseError

NameDescription
System_CAPS_pubpropertyMessage

Gets a message that describes the syntax error. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyToken

Gets the token that was being generated when the syntax error was detected. This property is introduced in Windows PowerShell 2.0.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

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

Return to top
Show:
© 2016 Microsoft