ActionAssertions.ThrowArgumentException MethodDefinition public ActionAssertionsChain<ArgumentException> ThrowArgumentException(string expectedMessage, string expectedParamName); ParametersNameTypeDescriptionexpectedMessageStringexpectedParamNameStringReturnsActionAssertionsChain<ArgumentException>Last modified: 29 January 2025ActionAssertions.Throw MethodActionAssertions.ThrowArgumentOutOfRangeException Method