The argument provided for the delegate output named '{0}' had an invalid type. The delegate output is of type '{1}' and the ...