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에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET