Читати англійською

Поділитися через


OptionsValidationException Class

Definition

Represents the exception that's thrown when options validation fails.

C#
public class OptionsValidationException : Exception
Inheritance
OptionsValidationException

Constructors

Properties

Failures

Gets the validation failures.

Message

Gets a semicolon-separated list of the Failures.

OptionsName

Gets the name of the options instance that failed.

OptionsType

Gets the type of the options that failed.

Applies to

Продукт Версії
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided), 2.1 (package-provided)