You are developing a Silverlight 4 application. The application contains the following code segment. (Line numbers are included for reference only.)
01 public partial class App : Application
02 {
03 public App()
04 {
05 this.UnhandledException += this.AppUnhandledException;
06 InitializeComponent();
07 }
08
09
private void AppUnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
10 {
11
12 }
13 }
You need to ensure that unhandled exceptions in the application are prevented from being thrown to the page that hosts the application. Which code segment should you insert at line 11?
A.
((SystemException)sender).Data.Clear();
B.
e.ExceptionObject = null;
C.
e.Handled = false;
D.
e.Handled = true;