The number of parameters for the delegate type TDelegate must equal the number of elements in parameters.
The elements of parameters must be reference equal to the parameter expressions in body.
The Type property of the resulting object represents the type TDelegate. If parameters is nullNothingnullptra null reference (Nothing in Visual Basic), the Parameters property of the resulting object is an empty collection.