CacheDuration property, 985
caching, Web Service responses, 985
CallExternalMethod activity, 940
CanDeserialize() method, 397
Caspol utility
AddGroup switch, 466–467
function of, 474
groups, listing active, 461–462
permission sets, 447
security policy examination commands, 460–461
security policy modification commands, 463–467
Catch block
Finally block, 318
late binding implemenation, 70
Throw statement, 318
Catch keyword, 317–319
Category attribute, 654
CausesValidation property, 629
CCircularRef class, 220
certificate management, security tools, 475
certificates, X.509, 495–497
Certmgr utility, 475
Cert2spc utility, 475
chains of inheritance, 138
Char datatype, 22, 25, 32–33
CheckBox control, 639
CheckCharacters property
XmlReaderSettings, 409
XmlWriterSettings, 401
CheckedListBox control, 639
ChildChangedEventArgs class, 706
ChildNodes() method, traversing XML, 421
Chktrust utility, 475
class constraints, generic, 279–281
class diagrams (Visual Studio), 553–554
class ID, COM and, 874
Class keyword, 18, 21, 73–75
Class Libraries, interfaces, 183
Class View window, 74
classes
Assembly, 824–825
AsymmetricAlgorithm, 488
base class, 116
CCircularRef, 220
ChildChangedEventArgs, 706
Class keyword, 73–75
CodeAccessSecurityAttribute, 449
components and, 111–112
ContainerControl, 660
Control, 659–660
DataSet, loading XmlDocument, 420
description, 62
DSACryptoServiceProvider, 488
ElementHost, 706
EmailStream, 415–418
Encapsulation, 175
EnvironmentPermission, 449
EnvironmentPermissionAttribute, 449
events, 84
handling, 84–85
raising, 86
raising, custom, 87–88
receiving, 88–91
WithEvents, 85–86
fields, 75
FileDialogPermission, 449
FileDialogPermissionAttribute, 449
FileIOPermission, 449
FileIOPermissionAttribute, 449
GacIdentityPermission, 449
GacIdentityPermissionAttribute, 449
GenericBase, 275
Hashtable, 81
Installer, 1128
IntegrationExceptionEventArgs, 706
IsolatedStorageFilePermission, 449
IsolatedStorageFilePermissionAttribute, 449
IsolatedStoragePermission, 449
IsolatedStoragePermissionAttribute, 449
IXsltArgumentList, 432
IXsltCompileException, 433
IXsltContext, 433
IXsltContextFunction, 432
IXsltContextVariable, 432
IXsltException, 433
KeyContainerPermission, 450
KeyContainerPermissionAccessEntry, 450
KeyContainerPermissionAccessEntryCollection, 450
KeyContainerPermissionAccessEntryEnumerator, 450
KeyContainerPermissionAttribute, 450
LayoutExceptionEventArgs, 706
MemoryStream, 415–418, 416
Message, 1169–1173
methods, 76
constructor methods, 91–92
parameters, 77–78
returning values, 76–77
scope, 77
Object, 34
parent class, 116
partial, 723
PermissionSetAttribute, 450
PrinciplePermission, 450
PrinciplePermissionAttribute, 450
Process, displaying XML documents, 427
properties, 78–84
PropertyMap, 707
PropertyMappingExceptionEventArgs, 707
PropertyTranslator, 707
ProviderFactory, 366
PublisherIdentityPermission, 450
PublisherIdentityPermissionAttribute, 450
ReflectionPermission, 450
ReflectionPermissionAttribute, 450
RegistryPermission, 450
RegistryPermissionAttribute, 450
ResourcePermissionBase, 450
ResourcePermissionBaseEntry, 450
RSACryptoServiceProvider, 488
ScrollableControl, 660
SecurityAttribute, 450
SecurityException, 475–476
SecurityPermission, 451
SecurityPermissionAttribute, 451
ServiceController, 1140
ServiceInstaller, 1128
ServiceProcessInstaller, 1128
SingleLinkedList, 271
SoapHeader, 986
StoredProcedureHelper, 370
StorePermission, 451
StorePermissionAttribute, 451
superclass, 116
System.NetHttpWebRequest, 1153
System.Net.HttpWebResponse, 1153
System.Net.WebClient, 1154
System.Net.WebProxy.WebClient, 1154
System.Net.WebRequest, 1153
System.Security.Cryptography.Asymmetric alAlgorithm, 488
System.Uri, 1153
UIPermission, 451
UIPermissionAttribute, 451
UserControl, 660
WindowsFormsHost, 707
XML, 389
XmlAttribute, DOM and, 419–420
XmlDocument, 417
DOM and, 419
XmlElement, DOM and, 419
XmlNode, DOM and, 419
XmlNodeList, 421
XmlReader, 400
XmlTransform, 400
XmlWriter, 400
Xsl namespace, 432–433
XslTransform, displaying XML documents, 427
Click event, 84
ClickOnce deployment, 831
Internet, 861–862
application configuration, 862
bootstrapper, 870
configuration options, 867–869
directories produced, 865–866
files produced, 865–866
locally installed applications, 862–863
manifest, manual editing, 870
offline applications, deploying, 863–865
online applications, 862–863
online applications, deploying, 863–865
signing manifest, 866
uninstalling applications, 870
updates, 867
client-side ActiveX, 962
ClientSize property, 526
Close method, 334
CloseAndSend() method, streaming XML email, 415–418
CloseOutput property
XmlReaderSettings, 409
XmlWriterSettings, 401
CLR (common language runtime), 4
assemblies and, 808
attributes, 214–216
components, 5
datatypes, 211–212
design goals, 6–7
IL Disassembler, 217–218
introduction, 205–206
memory management, garbage collection, 219–226
metadata, 212–214
objects, memory allocation, 226–227
Reflection API, 216–217
SQL Server and, 563–564
code access, permissions, 451–452
management, 455–460
Code activities, workflows, 936
Code activity, 943
Code Expansion, 529–531
code snippets, 531–533
CodeAccessPermission class
Assert method, 451
Copy method, 451
Demand method, 451
Deny method, 451
Equals method, 451
FromXml method, 451
GetHashCode method, 451
GetType method, 451
Intersect method, 452
IsSubsetOf method, 452
PermitOnly method, 452
RevertAll method, 452
RevertAssert method, 452
RevertDeny method, 452
RevertPermit-Only method, 452
ToString method, 452
ToXml method, 452
Union method, 452
CodeAccessSecurityAttribute class, 449
Collections namespace, 42–44
ArrayList object, 42
BitArray object, 42
Hashtable object, 42
Queue object, 42
SortedList object, 42
Stack object, 42
ColorDialog control, 635–636
COM (Component Object Model), 3, 15, 873
binding, 874
class ID, 874
interfaces, 874
late binding, 882–883
legacy ActiveX control, 887–889
legacy components
implementing, 876–877
interface, 875–876
registering, 877
monikers, 1048
.NET
component, 892–893
legacy component, referencing, 878–880
RegAsm, 893–896
TlbExp, 896
objects, marshaling, 1048
TlbImp, 880–881
combo boxes, AutoCompletion, 598
ComboBox control, 640
Command object, 345–346
stored procedures and, 346–350
Command window (Visual Studio), 550
commands
asynchronous execution, 352–354
comparison operators, 55–57
CREATE ENDPOINT, 589
custom, 1143–1145
Do Until statement, 59
Do While statement, 59
For Each statement, 58
End Namespace, 298
Exit For statement, 58
If Then statement, 54–55
Namespace, 298
For Next statement, 58
Select Case statement, 57
Using, 222
While statement, 59
XSLT, 425
Commit event, 855
CommitTransaction event, 737
common provider model, 366–368
common type system, 8
Compare() method, 35, 158–159
CompareOrdinal() method, 35
comparison operators, 55–57
CompensatableSequence activity, 942
Compensate activity, 943
Component Services Console, 1041
components, classes and, 111–112
composite controls
building, 649
UserControl, 660–661
creating, 661–662
example, 663–667
properties, 663
resizing, 662–663
Concat() method, 35
ConditionedActivityGroup activity, 942
ConformanceLevel property
XmlReaderSettings, 409
XmlWriterSettings, 401
Connection object, 344–345
connection pooling, ADO.NET 2.0, 368
ConnectionString property, 371
consistency, ACID test, 1030
console applications, 13, 20–22
Console keyword, 22
constants, strings, 37
constraints, 271, 278–279
class, 281
multiple, 282
structure, 281
type constraints, 279–281
constructor methods, 91–92
overloading, 97–98
constructors
data access component, 370–371
inheritance and, 147
Overridable keyword, 148
Overrides keyword, 148
shared, 103
ContainerControl class, 660
content presenter control, 695
context menus, Windows Forms, 633
ContextMenu control, 597
ContextMenuStrip control, 597
ContextUtil, 1036
Control class, 659–660
Control directive, ASP.NET, 736
controls
Button, 639
CheckBox, 639
CheckedListBox, 639
selected items and, 655–659
ColorDialog, 635–636
ComboBox, 640
composite, building, 649
content presenter control, 695
ContextMenu, 597
ContextMenuStrip, 597
creating, from scratch, 649
custom controls, 748
DateTimePicker, 640
DomainUpDown, 640
embedding in controls, 675–677
FontDialog, 636
GDI+ and
System.Drawing namespace and, 668–669
System.Drawing.Graphics class, 669
HScrollBar, 640
ImageList, 640
inheritance and, 648–649
attributes, 654–655
custom events, 655
DefaultValue attribute, 652–653
properties, custom controls, 650–651
Visual Studio IDE and, 651–652
Label, 640
LinkLabel, 640
list controls, 748
ListBox, 640
ListView, 641
MainMenu, 597
MenuStrip, 597
mobile controls, 748
MonthCalendar, 641
NotifyIcon, 641
NumericUpDown, 641
PageSetupDialog, 636
panels, 695
PictureBox, 641
PrintDialog, 636
PrintPreviewDialog, 636
ProgressBar, 641
RadioButton, 641
rich controls, 748
RichTextBox, 641
SplitContainer, 597
Splitter, 597
StatusBar, 597
StatusStrip, 597
TabControl, 642
TextBox, 642
Timer, 642
Toolbar, 597
toolbox icons, 674–675
ToolStrip, 597
ToolStripButton, 630
ToolStripComboBox, 630
ToolStripControlHost, 630
ToolStripDropDownButton, 630
ToolStripDropDownItem, 630
ToolStripLabel, 630
ToolStripMenuItem, 630
ToolStripSeparator, 630
ToolStripSplitButton, 630
ToolStripTextBox, 630
TrackBar, 642
TreeView, 642
user controls, 748
validation controls, 748
VScrollBar, 642
XAML, 694–695
conversions, datatype
compiler options, 48–51
explicit, 51–54
implicit, 48–51
ConvertLegacyToNewStandard.xslt, 431–432
Copy method, 35, 451
copying, shallow copy operations, 45
CORBA (Common Object Request Broker Architecture), 959, 961
counter monitor, 1131–1136
CREATE ENDPOINT command, 589
CreateEventSource method, 332
CreateInstance method, 183
Crossbow, Windows.Forms.Integration namespace
ChildChangedEventArgs class, 706
ElementHost class, 706
IntegrationExceptionEventArgs class, 706
LayoutExceptionEventArgs class, 706
PropertyMap class, 707
PropertyMappingExceptionEventArgsclass, 707
PropertyTranslator class, 707
WindowsFormsHost class, 707
cross-page posting, 760
cryptographically strong names, 1039
cryptography
definition, 446
hash algorithms
cryptographic, 479–481
overview, 478–479
.NET Framework, overview, 476–478
CString class, 211
CTS (common type system), 212
CType method, 54, 70–71
culture attribute, 237
CultureInfo object, 235
cultures, 231–232
currencies, 240–243
dates, 239–240
declaring globally in ASP.NET, 236–237
invariant cultures, 232
neutral cultures, 232, 252
numbers, 240–243
sorting and, 244–246
specific cultures, 232
threads, 233–236
currencies
converting, 240
numbers and, 240–243
Currency decimal type, 30
CurrentCulture property, 236
Custom Actions Editor, 854–856
custom controls, 748