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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET