This article has been archived. It is offered "as is" and will no longer be updated.

Summary

This article contains comments, corrections, and information about known errors relating to the Microsoft Press book MCTS Self-Paced Training Kit (Exam 70-536): Microsoft® .NET Framework 2.0—Application Development Foundation, 0-7356-2277-9. Additional corrections for this book are available in articles 923018, 935218, and 949734.

Page 612: XmlTextWriterListener should be XmlWriterTraceListener

On page 612, the fourth sentence in the second bullet point includes an incorrect reference to XmlTextWriterListener.

Change:"The XmlTextWriterListener allows Debug and Trace output to be written with detailed information stored in predefined Xml attributes."

To:"The XmlWriterTraceListener allows Debug and Trace output to be written with detailed information stored in predefined Xml attributes."

Pages 616: "DirectoryObjectSearcher" used in place of "ManagementObjectSearcher"

On page 616, there are several instances where "DirectoryObjectSearcher" is used in place of "ManagementObjectSearcher", the first sentence of the paragraph under the Enumerating Management Objects reads:

"At the core of the System.Management namespace is the DirectoryObjectSearcher object, which ccan programmatically access resources through WMI."

It should read:

"At the core of the System.Management namespace is the ManagementObjectSearcher object, which ccan programmatically access resources through WMI."

The last sentence of the same paragraph reads:

"To execute a query using the DirectoryObjectSearcher, the following steps need to be performed:"

It should read:

"To execute a query using the ManagementObjectSearcher, the following steps need to be performed:"

Step #2 reads:

"Declare an instance of the DirectoryObjectSearcher class."

It should read:

"Declare an instance of the ManagementObjectSearcher class."

Step #5 reads:

"Create a ManagementObjectCollection, and set it to the return value from the DirectoryObjectSearcher's Get method."

It should read:

"Create a ManagementObjectCollection, and set it to the return value from the ManagementObjectSearcher's Get method."

Page 619: IP_Address used in place of IP_Enabled

On page 619, the 28th line of the code sample reads:

if (Convert.ToBoolean(DemoManager[IP_Address]) == true)

It should read:

if (Convert.ToBoolean(DemoManager[IP_Enabled]) == true)

Page 621: Incorrect using directives in step 5

On page 621, the C# code sample in step 5 reads:

Using System.Diagnostics;Imports System.Management;

It should read:

using System.Diagnostics;using System.Management;

Microsoft Press is committed to providing informative and accuratebooks. All comments and corrections listed above are ready forinclusion in future printings of this book. If you have a later printingof this book, it may already contain most or all of the above corrections.