'<typename>' is a delegate type

'<typename>' is a delegate type. Delegate construction permits only a single AddressOf expression as an argument list. Often an AddressOf expression can be used instead of a delegate construction.

A New clause creating an instance of a delegate class supplies an invalid argument list to the delegate constructor.

You can supply only a single AddressOf expression when creating a new delegate instance.

This error can result if you do not pass any arguments to the delegate constructor, if you pass more than one argument, or if you pass a single argument that is not a valid AddressOf expression.

Error ID: BC32008

To correct this error

  • Use a single AddressOf expression in the argument list for the delegate class in the New clause.

See Also

New Operator
AddressOf Operator
Delegates
How to: Invoke a Delegate Method