Arguments cannot be passed to a 'New' used on a type parameter
A declaration or assignment statement invokes a generic type and supplies constructor arguments to a type parameter that has the New (Visual Basic) constraint.
A constraint list on a type parameter can specify that the type argument passed to that type parameter must expose a parameterless constructor that the creating code can access. A type parameter cannot require a constructor that takes parameters, and a type parameter with the New constraint cannot accept such a constructor.
Error ID: BC32085
To correct this error
- Remove the argument list following the type argument in the statement invoking the generic type. You cannot pass constructor arguments to the corresponding type parameter.