The delegate 'delegate' is missing the Invoke method
You imported and used a managed program (one that uses the NGWS runtime) that was created with another compiler. That compiler allowed an ill-formed delegate, such that the Invoke method was not available.