ExpressionError Class
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.
Error message. This could be a compile time error from parsing or binding, or it could be a runtime error wrapped in a ErrorValue.
public class ExpressionError
type ExpressionError = class
Public Class ExpressionError
- Inheritance
-
ExpressionError
- Derived
Constructors
| ExpressionError() |
Properties
| FragmentLocation |
Optional - provide file context for where this expression is from. |
| IsWarning |
A warning does not prevent executing the error. See Severity for more details. |
| Kind |
Runtime error code.This may be empty for compile-time errors. |
| Message |
A description of the error message. |
| MessageArgs | |
| MessageKey | |
| ResourceKey | |
| Severity | |
| Span |
Source location for this error within a single expression. |
Methods
| GetInLocale(CultureInfo) |
Get a copy of this error message for the given locale. Message will get lazily localized using MessageKey. |
| GetMessageInLocale(CultureInfo, Boolean) |
Get error message in the given locale. |
| ToString() | |