Skip to content

SqlErrorInfo.ToString method

Formats this error info as a localized validation message.

public string ToString(ITextLocalizer localizer, SqlErrorFormatOptions? options = null)
parameter description
localizer Text localizer.
options Optional formatting options, e.g. the operation that caused the error.

Exceptions

exception condition
ArgumentNullException localizer is null.

See Also