اقرأ باللغة الإنجليزية تحرير

مشاركة عبر


SymbolResult.ErrorMessage Property

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.

An error message for this symbol result.

C#
public string? ErrorMessage { get; set; }

Property Value

Remarks

Setting this value to a non-null during parsing will cause the parser to indicate an error for the user and prevent invocation of the command line.

Applies to

منتج الإصدارات
System.CommandLine 2.0