There is no argument given that corresponds to the required formal parameter – .NET Error
You have a constructor which takes 2 parameters. You should write something like: It’s less code and easier to read. EDIT Or, in order for your way to work, you can try writing a default constructor for ErrorEventArg which would have no parameters, like this: