Creating a Sample Application
The goal of this section is to illustrate how IntelliTrace can save your time by tracking events and exceptions with detailed information that can help you to understand what the problem is. According to this, creating a client WPF application can be a good example. To demonstrate both application events and exceptions, we can place a button that invokes a method attempting to open a file that does not exist. After creating a new WPF project named (IntelliTraceDemoApp
) with Visual Basic, in the XAML code editor, write the code shown in Listing 58.3.
On the Visual Basic code-behind side, write the code shown in Listing 58.4, which simply handles ...
Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.