Here's my take on the same issue.

Danny

By on 1/11/2009 9:13 AM ()

Ok, never mind, it seems that

let eventListener s (e:ExecDetailsEventArgs) = ignore( printfn "in event %A" e.CustomArgData)
let elh = new System.EventHandler<ExecDetailsEventArgs>(eventListener)

works correctly, with the parenthese around e:xxx only and no comma between s & e. I though I'd run through the permutations before posting but ... the machine changed!

(I hope this helps other newbies like me!)

By on 1/10/2009 8:15 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper