ThrowArgumentException Method
- Last UpdatedAug 21, 2026
- 1 minute read
Throws the argument exception.
Parameters
- invalid
- if set to
true[invalid]. - argumentName
- Name of the argument.
- message
- The message.
| Exception | Description |
|---|---|
| System.ArgumentException | throws an instance ArgumentException |