early binding, late binding and, 68–72
EDI (Electronic Data Interchange), 994
Electronic Data Interchange (EDI), 994
ElementHost class, 706
Height property, 707
HorizontalAlignment property, 707
Margin property, 707
VerticalAlignment property, 707
Width property, 707
elements, XML, 391
email, streaming XML documents, 415–418
EmailStream class, 415–418
embedding, controls in controls, 675–677
Empty() method, 35
empty tags, XML, 391
EnableRaisingEvents property, FileSystemWatcher, 1147
encapsulation, 174–176
description, 61
Encapsulation class, 175
DistanceTo() method, 186
IShared interface, 186
Encoding property, XmlWriterSettings, 401
End Namespace command, 298
EndExecuteNonQuery method, 352
EndExecuteReader method, 352
EndExecuteXmlReader method, 352
Enterprise Services, 1029
queued components, 1046–1047
client building, 1048–1050
Computer Management Console, 1048
consoles, 1048
InterfaceQueuing attribute, 1047
transactions with, 1051–1053
transactions
ACID test, 1030
business logic, 1035–1039
components, 1031–1032
database creation, 1033–1034
databases, populating, 1035
queued components and, 1051–1053
EntryWritten event, 331
Environment namespace, 301
EnvironmentPermission class, 449
Windows Forms permissions, 457
EnvironmentPermissionAttribute class, 449
equality operator ( =), 35
Equals() method, 35
Equals method, 451
Err object, exceptions and, 316–317
Error event, 737
error handling
interoperability and, 329
review, 314
error logging, 330
Event Log, 330–331
events, EntryWritten, 331
methods
CreateEventSource, 332
Delete, 332
DeleteEventSource, 332
Exists, 332
GetEventLogs, 332
SourceExists, 332
WriteEntry, 332
properties
Log, 332
Source, 332
trace files, writing to, 333–335
error messages, malformed XML, 414
ErrorProvider, 624
Err.Raise, 329
Event keyword, 86
Event Log, 330–331
error events, 331
failure audits, 331
information events, 331
Source property, 331
success audits, 331
warning events, 331
Event Viewer, 330
EventDriven activity, 942
EventLog, 330
System.Diagnostics namespace, 331
EventLog methods, registry accessing, 459
events, 84
AbortTransaction, 737
Application_AuthenticationRequest, 745
Application_BeginRequest, 744
Application_End, 745
Application_Error, 745
Application_Start, 744
Click, 84
Commit, 855
CommitTransaction, 737
CreateEventSource method, 332
DataBinding, 737
Delete method, 332
DeleteEventSource method, 332
Disposed, 737
EntryWritten, 331
Error, 737
errors, 331
Exists method, 332
GetEventLogs method, 332
handling, 84–85
multiple, 85
information, 331
inheritance, 154–155
controls, 655
raising events from subclasses, 155–157
Init, 737
InitComplete, 737
Install, 855
interfaces and, 166
Load, 737
LoadComplete, 737
Log property, 332
OnCustomCommand, 1143
PreInit, 737
PreLoad, 737
PreRender, 737
PreRenderComplete, 737
raising, 86
custom, 87–88
from subclasses, 155–157
receiving
AddHandler method, 90–91
WithEvents keyword, 88–89
Rollback, 855
server controls, ASP.NET, 751–752
Session_End, 745
Session_Start, 744
shared, 102–103
Source property, 332
SourceExists method, 332
Uninstall, 855
Unload, 737
Validating, 628
warnings, 331
WithEvents keyword, 85–86
WriteEntry method, 332
Everything permission set, 448
evidence (identity permissions), 454
exception handling, 313
keywords, 317
structured, 315
XML, 413–415
exceptions
Err object and, 316–317
GetBaseException method, 316, 323–324
HelpLink property, 315
InnerException property, 315
Message property, 315
properties, 323–324
security, 475–476
Source property, 315
StackTrace property, 315
TargetSite property, 315
throwing new, 320–321
ToString method, 316
ExecSp, 382–383
ExecSpOutputValues, 383–384
ExecSpReturnDataReader, 380–381
ExecSpReturnDataSet, 373–380
ExecSpReturnXmlReader, 381–382
ExecuteAndSend method, 584
ExecuteXmlReader() method, query results, retrieving, 436
execution of commands asynchronously, 352–354
Execution permission set, 448
Exists method, 332
Exit For statement, 58
Exit Try statement, 321–322
explicit conversions, datatypes, 51–54
ExtendedProperties, 360
extender providers, Windows Forms
ErrorProvider, 624
HelpProvider, 623–624
properties, 624
ToolTip, 622–623
External Access Assembly permission, 573