Class OpenIddictExceptions.ValidationException
Represents an OpenIddict validation exception.
Inheritance
System.Object
OpenIddictExceptions.ValidationException
Namespace: OpenIddict.Abstractions
Assembly: cs.temp.dll.dll
Syntax
public class ValidationException : Exception
Constructors
ValidationException(String)
Creates a new OpenIddictExceptions.ValidationException.
Declaration
public ValidationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
ValidationException(String, ImmutableArray<ValidationResult>)
Creates a new OpenIddictExceptions.ValidationException.
Declaration
public ValidationException(string message, ImmutableArray<ValidationResult> results)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
ImmutableArray<ValidationResult> | results | The validation results. |
ValidationException(String, ImmutableArray<ValidationResult>, Nullable<Exception>)
Creates a new OpenIddictExceptions.ValidationException.
Declaration
public ValidationException(string message, ImmutableArray<ValidationResult> results, Exception? exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
ImmutableArray<ValidationResult> | results | The validation results. |
System.Nullable<Exception> | exception | The inner exception. |
Properties
Results
Gets the validation results associated with this exception.
Declaration
public ImmutableArray<ValidationResult> Results { get; }
Property Value
Type | Description |
---|---|
ImmutableArray<ValidationResult> |