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