I'm defining a function that takes another function as a parameter (using Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.4927) but I get a weird error.
Here's the function definition:
public ManagementScope ConnectComputerWMI(string computerName,
string username, string password,
Action callbackProcessEnd) {... }
And here's the error:
error CS0305: Using the generic type 'System.Action<T>' requires '1' type arguments
I'm not sure what type System.Action needs.