ExpressionError.GetMessageInLocale(CultureInfo, Boolean) 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.
Get error message in the given locale.
public string GetMessageInLocale(System.Globalization.CultureInfo culture, bool includeSpanDetails = false);
member this.GetMessageInLocale : System.Globalization.CultureInfo * bool -> string
Public Function GetMessageInLocale (culture As CultureInfo, Optional includeSpanDetails As Boolean = false) As String
Parameters
- culture
- CultureInfo
CultureInfo object.
- includeSpanDetails
- Boolean
If true, get error message with span details.