Method Invalid
Invalid(string)
Creates a FileFormatValidationResult representing a failed (invalid) validation with the specified error message.
Declaration
public static FileFormatValidationResult Invalid(string errorMessage)
Parameters
| Type | Name | Description |
|---|---|---|
| string | errorMessage | A non-empty message describing why validation failed. |
Returns
| Type | Description |
|---|---|
| FileFormatValidationResult |