InputsDialogValidationContext.AddValidationError 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.
Adds a validation error for the specified input.
public void AddValidationError(Aspire.Hosting.InteractionInput input, string errorMessage);
member this.AddValidationError : Aspire.Hosting.InteractionInput * string -> unit
Public Sub AddValidationError (input As InteractionInput, errorMessage As String)
Parameters
- input
- InteractionInput
The input to add a validation error for.
- errorMessage
- String
The error message to add.