SymbolResult.AddError(String) Method
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.
Adds an error message for this symbol result to it's parse tree.
public:
virtual void AddError(System::String ^ errorMessage);
public virtual void AddError(string errorMessage);
abstract member AddError : string -> unit
override this.AddError : string -> unit
Public Overridable Sub AddError (errorMessage As String)
Parameters
- errorMessage
- String
Remarks
Setting an error will cause the parser to indicate an error for the user and prevent invocation of the command line.