ParseError(IScriptExtent, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new parse error.
public:
ParseError(System::Management::Automation::Language::IScriptExtent ^ extent, System::String ^ errorId, System::String ^ message);
public ParseError (System.Management.Automation.Language.IScriptExtent extent, string errorId, string message);
new System.Management.Automation.Language.ParseError : System.Management.Automation.Language.IScriptExtent * string * string -> System.Management.Automation.Language.ParseError
Public Sub New (extent As IScriptExtent, errorId As String, message As String)
Parameters
- extent
- IScriptExtent
The IScriptExtent that represents the location of the error.
- errorId
- String
The error ID to associate with the error.
- message
- String
The message of the error.