ValidateOptionsResultBuilder.AddResult 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.
Overloads
AddResult(ValidateOptionsResult) |
Adds any validation errors carried by the ValidateOptionsResult instance to this instance. |
AddResult(ValidationResult) |
Adds any validation error carried by the ValidationResult instance to this instance. |
AddResult(ValidateOptionsResult)
Adds any validation errors carried by the ValidateOptionsResult instance to this instance.
public:
void AddResult(Microsoft::Extensions::Options::ValidateOptionsResult ^ result);
public void AddResult (Microsoft.Extensions.Options.ValidateOptionsResult result);
member this.AddResult : Microsoft.Extensions.Options.ValidateOptionsResult -> unit
Public Sub AddResult (result As ValidateOptionsResult)
Parameters
- result
- ValidateOptionsResult
The instance to consume the errors from.
Applies to
AddResult(ValidationResult)
Adds any validation error carried by the ValidationResult instance to this instance.
public:
void AddResult(System::ComponentModel::DataAnnotations::ValidationResult ^ result);
public void AddResult (System.ComponentModel.DataAnnotations.ValidationResult? result);
member this.AddResult : System.ComponentModel.DataAnnotations.ValidationResult -> unit
Public Sub AddResult (result As ValidationResult)
Parameters
- result
- ValidationResult
The instance to append the error from.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für