COM Programming with Microsoft .NET

E

Edit Code Group Properties link, 50

E_FAIL return value, 488

email error reporting, 182

emitidl attribute, 205, 220

empty COM+ applications, 34

Enabled property, 367, 371

encodings, XML Web services, 4

Enforce Access Checks For This Application option, 44

E_NOINTERFACE return value, 488

enterprise applications, COM+, 163

Enterprise level security, 50

EnterpriseServices namespace, 160-162, 308

entity conversions

arrays, 81-83

assemblies, 125-126

attributes, 74

classes, 127-128

coclasses , 83-85

constants, 90

data types, 75-83, 136-137

enumerations, 90, 138

interfaces, 85-88, 128-136

libraries, 74-75

methods , 87, 132-134

modules, 91

namespaces, 126

properties, 87, 134-136

structures, 88

typedefs , 90

unions, 89

value types, 137

entry point ordinals, 414

EntryPoint parameter, 414, 430

enumerations

converting, 90

exporting, 138

IEnum interface, 242

RegKind, 65

EnumWindowStations function, 462, 465

equality classes, 235-237

equality operators, 79

errors

attributed programming, 224

COM, 13

COM+, 31, 182

design considerations, 93

MSMQ, 330

.NET exceptions, 13

Platform Invoke, 415

publish/subscribe system, 350

Web applications, 380-384, 386

event handling. See also subscriptions

attributed programming, 225-230

callbacks and, 461-466

COM, 94-99

COM vs. .NET, 19

COM+, 170

.NET, 118, 141, 148-152

event logs, 30, 182, 330, 335-336, 341

event objects

component subscribers, 356

creating, 350

designing, 350-352

installing, 352-353

event prototypes , 351

event sinks, 95, 118, 225

event sources, 225

Event Viewer snap-in, 30

EventCLSID property, 367

EventLog object, 330

event_receiver attribute, 217, 228

event_source attribute, 217, 225

event-source interfaces, 141, 149-151

Everything entry, 50

ExactSpelling parameter, 415

exceptions

converting, 132-133

custom classes, 142

vs. HRESULTs, 93

.NET, 13

explicit conversions, 258

explicit memory layouts, 89, 442-443

explicit source interfaces, 149-151

explicitly marking nonvisible types, 14

explicitly releasing resources, 92

export attribute, 212

exported member functions, 430

exporting

assemblies, 125-126

classes, 127-128

COM+ applications, 45-46, 295-296

data types, 136-137

enumerations, 138

interfaces, 128-136

methods, 132-134

namespaces, 126

properties, 134-136

value types, 18, 137

exposing .NET types to COM. See integrating .NET in COM

extern functions, 420

extracting public keys, 73

 

Категории