IncompleteParseException IncompleteParseException 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
type IncompleteParseException = class
    inherit ParseException
Public Class IncompleteParseException
Inherits ParseException
Inheritance

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() IncompleteParseException() IncompleteParseException()

Initializes a new instance of the class IncompleteParseException

IncompleteParseException(SerializationInfo, StreamingContext) IncompleteParseException(SerializationInfo, StreamingContext) IncompleteParseException(SerializationInfo, StreamingContext)

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

IncompleteParseException(String) IncompleteParseException(String) IncompleteParseException(String)

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

IncompleteParseException(String, Exception) IncompleteParseException(String, Exception) IncompleteParseException(String, Exception)

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

Properties

ErrorRecord ErrorRecord ErrorRecord Inherited from RuntimeException
Errors Errors Errors Inherited from ParseException
Message Message Message Inherited from ParseException
StackTrace StackTrace StackTrace Inherited from RuntimeException
WasThrownFromThrowStatement WasThrownFromThrowStatement WasThrownFromThrowStatement Inherited from RuntimeException

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) Inherited from ParseException

Applies to