E


\e escape, in regular expressions, 468

early binding, 495

eldest generation, 117

e-mail address, matching, 466

e-mail (SMTP) protocol, 297–298

embedded resources in assembly, 143–144

/embedresource switch, C#, 144

emitting code and metadata, 529–532

encapsulated comparisons, 248–250

encodings

books about, 325

internationalization and, 302, 320–321

end of stream (EOS) condition, 256–257

endfilter instruction, IL, 555

endfinally instruction, IL, 555

EndRead method, Stream class, 261, 264

EndReceive method, sockets, 287

EndSend method, sockets, 286

EndWrite method, Stream class, 261

Enterprise policy level, 341

Enterprise Services (ES), transaction management using, 544–546

.entrypoint directive, IL, 83, 136

enum keyword, C#, 66

enumerations

definition of, 65–67

flags-style enumerations, 67–68, 69

helper methods for, 69

type safety and, 68–69

enumerators, 233–236

environment variables, permission to access, 337

EnvironmentPermission class, 337

EOS (end of stream) condition, 256–257

ephermal generations, 117

epilogue of method, 129–130

equality, testing for. See comparisons

Equals method

Object type, 173–176

strings, 187–188

ES (Enterprise Services), transaction management using, 544–546

event keyword, C#, 45–46

EventLogPermission class, 338

events

definition of, 45–46, 382–383

delegate chains and, 523

exposed by AppDomains, 394

monitor-based events, 383–384

timers, 385

Win32 events, 384–385

evidence, CAS, 330, 334–335

exceptions

catching exceptions, 100

class hierarchy for, 110–111

compared to tracing, 441

custom exceptions, 212

definition of, 99–100

fail fast, 111

fault blocks, 105–106

finally blocks

definition of, 106–107

ensuring memory release using, 409

two-pass exceptions and, 112–113

unhandled exceptions and, 109

list of exceptions, 208–212

in methods, 38

performance of, 113–115

rethrowing exceptions, 105

SEH (Structured Exception Handling), 101

statistics regarding, 114

throwing exceptions, 99, 100, 101–102

throwing non-exception objects, 107–108

try/catch blocks for

catch on Boolean filter, 104–105

catch on type filter, 102–104

definition of, 102

ensuring memory release using, 409

examples of, 100–101

two-pass exception model for, 101, 111–113

undeniable exceptions, 109–110

unhandled exceptions

in constructors, 42–43

definition of, 99, 108–109

wrapped exceptions, 108

ExecutionEngineException exception, 210

extends keyword, IL, 49–50

Extensible Markup Language (XML)

APIs, 5

parsing with regular expressions, 480–481

for resource files, 316–317




Professional. NET Framework 2.0
Professional .NET Framework 2.0 (Programmer to Programmer)
ISBN: 0764571354
EAN: 2147483647
Year: N/A
Pages: 116
Authors: Joe Duffy

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net