C


callback contracts, 68.

See also contracts

CallbackContract property (ServiceContractAttribute), 68, 240

CanBuildChannelFactory method (Binding), 208

CanBuildChannelFactory method (BindingElement), 217–218

CanBuildChannelListener method (Binding), 208

CanBuildChannelListener method (BindingElement), 217–218

CancelReservation operation, 237

ChangeReservation operation, 237

Channel layer (WCF), 96–97

channel managers, 187–201, 258

channel factories, 196–201

custom, building, 199–201

channel listeners, 188–196

custom, building, 192–196

channel stacks, 152

changing shape, 177

channel type and, 175, 176

ChannelBase type, 173–174

ChannelDispatcher type, 261–265

ChannelFactory type, 78, 269–270

ChannelFactoryBase type, 197–199

ChannelListenerBase type, 191–192

ChannelManagerBase type, 174, 188

channels, 151–186

custom, creating, 178–186

instantiating, 153

interfaces and base types, 166–174

protocol channels, 175

shape, 163–166

shaping channels, 177

state machine, 153–163, 179

transport channels, 175

channels and channel shape, 258–260

choreographies, message. See messages, choreographies for

ClientBase type, 269

clients, 257, 269–270

Clone method (BindingElement), 215–217

Close method

CommunicationObject type, 161–162

ICommunicationObject interface, 154

Message type, 149

XmlDictionaryWriter type, 106

Closed event, 161, 162

Closing event, 161, 162

CommunicationObject type, 155–163

ChannelDispatcher type and, 263

Close and Abort methods, 161–162

Fault method, 162

Open and BeginOpen methods, 159–160

stacks, 162–163

CommunicationState property (ICommunicationObject), 155

Close and Abort methods with, 162

Open and BeginOpen methods with, 159–160

compatibility, policy-based, 46

component architectures, 6

configurability of ECF, 16

ConfigurationName property (ServiceContractAttribute), 240

consuming metadata, 87–88

content-based routing, 57

ContractDescription type, 253

ContractFilter property (EndpointDispatcher), 265

contracts, 47–53, 92–96, 237–255

basic structure of, 238–252

callback contracts, 68

data contracts, 92, 94, 238, 246–248

defining methods in, avoiding, 251

defined, 237

descriptions, 252–254

message contracts, 92, 95, 238, 248–249

defining methods in, avoiding, 251

message exchange patterns (MEPs).

See also MEPs

datagram (simplex), 62

duplexes, 68

reply/request (half-duplex), 66

not defining methods in, 251

sealing, 251

service contracts, 68, 92, 93, 238, 239–246

defining, 74

mapping to service objects, 245

operation method arguments, 244

operations in, 241–244

sharing, 45

CopyHeaderFrom method (MessageHeaders), 142

copying

MessageHeaders objects, 142

messages, 148

correlating (relating) messages, 37

CreateBinaryWriter method (XmlDictionaryWriter), 110–111, 119

CreateBindingElements method (Binding), 90–92, 211–214, 232

CreateBufferedCopy method (Message type), 148–149

CreateChannel method (ChannelFactory), 78

CreateChannel method (IChannelFactory), 197, 227

CreateDictionaryReader method (XmlDictionaryReader), 124

CreateDictionaryWriter method (XmlDictionaryWriter), 106

CreateHeader methods (MessageHeader), 135

CreateMessage method (Message type), 119

pulling data from readers, 124–126

pushing data into Messages, 126

serializing Object graphs, 122

CreateMexTcpBinding method, 85

CreateMtomWriter method (XmlDictionaryWriter), 107–110

CreateTextWriter method (XmlDictionaryWriter), 106–107

creating messages, 119–131




Inside Windows Communication Foundation
Inside Windows Communication Foundation (Pro Developer)
ISBN: 0735623066
EAN: 2147483647
Year: 2007
Pages: 106
Authors: Justin Smith

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