ValidationResult Struct
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.
Represents the result of a validation operation.
public readonly struct ValidationResult
type ValidationResult = struct
Public Structure ValidationResult
- Inheritance
-
ValidationResult
Error |
Gets the error message associated with an invalid validation result. |
Is |
Gets a value indicating whether the validation result is valid. |
Valid |
Gets a task that represents a valid validation result. |
Invalid(String) |
Creates an invalid validation result with the specified error message. |
Invalid |
Creates a task that represents an invalid validation result with the specified error message. |
Valid() |
Creates a valid validation result. |
製品 | バージョン |
---|---|
Microsoft Testing Platform | 1.0.2, 1.1.0, 1.2.1, 1.3.2, 1.4.3, 1.5.3, 1.6.0 |
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。