FatalExecutionEngineError returning from WPF PageFunction
Posted on November 30, 2007
I’m posting this for future reference. If you invoke a PageFunction and add an event handler to the PageFunction’s Return event, the event handler must be an instance method of the calling page. No other method will do. If the event handler doesn’t meet this criteria, you’ll see the FatalExecutionEngineError thrown when you return from the PageFunction. Sorry, no separation of concerns allowed.
Got something to say?