Skip to content

SaveRequestHandlerAsync<TRow,TSaveRequest,TSaveResponse>.ValidateFieldValuesAsync method

Validates the values of the assigned fields by the validation rules of their properties, like ValidateFieldValues, awaiting the rules that can be checked asynchronously, see IAsyncValidationRule.

protected virtual Task ValidateFieldValuesAsync(CancellationToken cancellationToken = default)
parameter description
cancellationToken The cancellation token.

Exceptions

exception condition
ValidationError One of the fields has an invalid value

See Also