NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

10.3.2.1 Delegate argument expressions

If an argument includes the keyword AddressOf, then the argument must be an invocation target and the parameter it corresponds to must be typed as a delegate whose signature is compatible with the argument. A delegate argument "AddressOf E" is transformed into "New T(E)", where T is the delegate type of the argument. Note that during overload resolution, a delegate argument expression may match more than one type of delegate (assuming they all have the same delegate signature). In that case, the overload resolution will fail.

DelegateArgumentExpression ::= AddressOf InvocationTargetExpression