IncompleteParseException Class

Definition

Defines the exception thrown when a incomplete parse error occurs while parsing msh script text.

public class IncompleteParseException : System.Management.Automation.ParseException
Inheritance

Inherited Members

System.Management.Automation.ParseException

System.Management.Automation.RuntimeException

Remarks

This is a variation on a parsing error that indicates that the parse was incomplete rather than irrecoverably wrong. A host can catch this exception and then prompt for additional input to complete the parse.

Constructors

IncompleteParseException()

Initializes a new instance of the class IncompleteParseException

IncompleteParseException(String)

Initializes a new instance of the IncompleteParseException class and defines the error message.

IncompleteParseException(SerializationInfo, StreamingContext)

Initializes a new instance of the IncompleteParseException class and defines the serialization information, and streaming context.

IncompleteParseException(String, Exception)

Initializes a new instance of the IncompleteParseException class and defines the error message and inner exception.