Constructor ScriptErrorEventArgs
ScriptErrorEventArgs(ScriptCompilationDiagnostic[])
Initializes a new instance of the ScriptErrorArgs class with specified parameter.
public ScriptErrorEventArgs(ScriptCompilationDiagnostic[] errors)
Parameters
errorsScriptCompilationDiagnostic[]Specifies collection of errors.
ScriptErrorEventArgs(string)
Initializes a new instance of the ScriptErrorArgs class with specified parameter.
public ScriptErrorEventArgs(string errorMessage)
Parameters
errorMessagestringSpecifies error information for the new instance.