ChangeLog 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
  1. 2009-08-04 Atsushi Enomoto <[email protected]>
  2. * ReplyHandler.cs : there is better way to check IsOneWay.
  3. 2009-08-04 Atsushi Enomoto <[email protected]>
  4. * OperationInvokerHandler.cs : One way operation has no reply.
  5. * ReplyHandler.cs : ditto.
  6. 2009-07-31 Atsushi Enomoto <[email protected]>
  7. * ChannelDispatcher.cs : raise error on multiple endpoint match
  8. (documented at EndpointDispatcher.FilterPriority).
  9. 2009-07-28 Atsushi Enomoto <[email protected]>
  10. * ChannelDispatcher.cs : move Open() inside acceptor lock, so that
  11. the channel does not have to be fired Receive() before Open().
  12. 2009-07-14 Atsushi Enomoto <[email protected]>
  13. * DispatchRuntime.cs : add ValidateMustUnderstand.
  14. * DispatchOperation.cs : add AutoDisposeParameters.
  15. 2009-07-02 Atsushi Enomoto <[email protected]>
  16. * ChannelDispatcher.cs : when service instance is provided to the
  17. ServiceHost, do not reject Type-less state.
  18. 2009-06-29 Atsushi Enomoto <[email protected]>
  19. * ChannelDispatcher.cs : do not iterate extra channel acceptance
  20. and hence close channels a bit more gracefully.
  21. 2009-06-25 Atsushi Enomoto <[email protected]>
  22. * ChannelDispatcher.cs : instead of discarding channels, reuse them
  23. unless it is closed by session manager (session manager does not
  24. work, so channels are not actually closed automatically yet).
  25. 2009-06-25 Atsushi Enomoto <[email protected]>
  26. * SessionInstanceContextProvider.cs : new instance context provider.
  27. 2009-06-23 Atsushi Enomoto <[email protected]>
  28. * DispatchRuntime.cs : do not fill InstanceContextProvider here.
  29. * ChannelDispatcher.cs : do it here instead.
  30. * ChannelDispatcherCollection.cs : remove TODOs.
  31. 2009-06-23 Atsushi Enomoto <[email protected]>
  32. * InputOrReplyRequestProcessor.cs : bogus initialization.
  33. 2009-06-18 Atsushi Enomoto <[email protected]>
  34. * ChannelDispatcher.cs : significant changes:
  35. - simplified Open/Close async.
  36. - implement OnAbort().
  37. - create ServiceThrottle when it is null.
  38. - Channels are accepted as much as the throttle allows, and
  39. process requests when accepted an input (now it holds more than
  40. one channel).
  41. - Support ReceiveSynchronously and use Begin/EndAcceptChannel()
  42. for async pattern.
  43. - Close all channels and the listener when it is closed.
  44. - Cosmetic simplification on channel acceptor delegate creation.
  45. 2009-06-09 Atsushi Enomoto <[email protected]>
  46. * ChannelDispatcher.cs : avoid NRE (actually it should eliminate
  47. Thread.Abort()). Added some comments on throttling.
  48. 2009-06-09 Atsushi Enomoto <[email protected]>
  49. * ServiceThrottle.cs : implement.
  50. 2009-06-08 Atsushi Enomoto <[email protected]>
  51. * ChannelDispatcher.cs :
  52. Add call to base (see CommunicationObject change).
  53. 2009-06-01 Atsushi Enomoto <[email protected]>
  54. * ChannelDispatcher.cs : handle more errors gracefully.
  55. 2009-05-18 Atsushi Enomoto <[email protected]>
  56. * ErrorProcessingHandler.cs, InputOrReplyRequestProcessor.cs :
  57. they also premise request-reply channel and broke duplex channels.
  58. 2009-05-13 Atsushi Enomoto <[email protected]>
  59. * ChannelDispatcher.cs : open channel before using it.
  60. 2009-05-13 Atsushi Enomoto <[email protected]>
  61. * ReplyHandler.cs, InputOrReplyRequestProcessor.cs,
  62. MessageProcessingContext.cs : reply processing is also needed by
  63. non-request channels (i.e. duplex). Current code basis lacked
  64. such possibility. Quick fix by adding duplex support in
  65. ReplyHandler so far.
  66. 2009-05-13 Atsushi Enomoto <[email protected]>
  67. * ChannelDispatcher.cs, SecurityHandler.cs,
  68. InputOrReplyRequestProcessor.cs, MessageProcessingContext.cs :
  69. remove default communication timeouts from several types. They
  70. bring bogus NRE. Instead, fill timeouts in ChannelDispatcher and
  71. use it when required (it was actually *only* request processor).
  72. 2009-05-13 Atsushi Enomoto <[email protected]>
  73. * ChannelDispatcher.cs : wrong channel argument.
  74. 2009-04-27 Atsushi Enomoto <[email protected]>
  75. * DispatchRuntime.cs : some comment.
  76. * ChannelDispatcher.cs : ongoing changes to handle listeners and
  77. accepted channels at more precise state. Listeners are opened,
  78. without accepting channels. Some setup code is done at OnOpen(),
  79. while some are done at OnOpened().
  80. 2009-04-23 Atsushi Enomoto <[email protected]>
  81. * DispatchOperation.cs : implement GetFormatter() at service side too.
  82. 2009-04-01 Atsushi Enomoto <[email protected]>
  83. * OperationInvokeHandler.cs : replace MS copycat exception message.
  84. 2009-02-26 Atsushi Enomoto <[email protected]>
  85. * ClientRuntime.cs : fill contractType in .ctor().
  86. 2009-02-04 Atsushi Enomoto <[email protected]>
  87. * BaseMessagesFormatter.cs : do not use non-2.1 CreateInstance().
  88. 2008-06-18 Noam Lampert <[email protected]>
  89. * ChannelDispatcher.cs: Avoid aborting host process on faulty input message.
  90. 2008-05-22 Noam Lampert <[email protected]>
  91. * OperationInvokeHandler.cs: Only return fault reply when TargetInvocation occured (not other internal
  92. errors. Serlialize the correct (inner) exception.
  93. 2008-05-22 Roei Erez <[email protected]>
  94. * fix ContractDescription.GetContract implementation
  95. * Refactor Request processing
  96. * Add support for message inspectors
  97. * Add support for InstanceContextProvider & InstanceProvider, including lifecycles events
  98. like: ReleaseServiceInstance, Open, Close...
  99. * Add relevant test cases.
  100. 2008-05-01 Eyal Alaluf <[email protected]>
  101. * BaseMessagesFormatter.cs: Handle methods with out parameters that return
  102. void.
  103. * DispatchOperation.cs, IOperationInvoker.cs: Simplify method invocation.
  104. 2008-04-22 Igor Zelmanovich <[email protected]>
  105. * DispatchOperation.cs: removed dependency on OperationDescription,
  106. allows usage of custom channel dispatcher without endpoint was explicitly
  107. built
  108. 2008-04-22 Igor Zelmanovich <[email protected]>
  109. * MexInstanceContextProvider.cs - remove unused code.
  110. 2008-04-21 Roei Erez <[email protected]>
  111. * ChannelDispatcher.cs - Change order of Dispatcher shutdown
  112. 2008-04-17 Vladimir Krasnov <[email protected]>
  113. * ChannelDispatcher.cs, EndpointDispatcher.cs: removed dependency on
  114. ServiceDescription/ServiceEndpoint, allows usage of channel dispatcher
  115. without endpoint was explicitly built
  116. * EndpointDispatcher.cs: Filters lazy evaluation, refactored
  117. communication processing, logic moved to channel dispatcher
  118. 2008-04-17 Vladimir Krasnov <[email protected]>
  119. * ActionMessageFilter.cs: fixed Match, match for "*" action
  120. 2008-04-17 Vladimir Krasnov <[email protected]>
  121. * DispatchOperation.cs: fixed ProcessRequest, fault message creation
  122. 2008-04-10 Eyal Alaluf <[email protected]>
  123. * DefaultMessageOperationFormatter.cs: Moved to BaseMessagesFormatter.cs.
  124. * BaseMessagesFormatter.cs: Refactored so typed messages uses the classes
  125. defined here instead of the other way around.
  126. Added support for by-ref and out parameters.
  127. Added support for XmlSerializerFormat serializaters..
  128. * DispatchOperation.cs, ClientOperation.cs: Use BaseMessagesFormatter.Create
  129. 2008-04-09 Roei Erez <[email protected]>
  130. * Remove unused nethod from previous commit
  131. 2008-04-08 Roei Erez <[email protected]>
  132. * ChannelDispatcher.cs
  133. - fix 'Attach' logic
  134. - Add support for Endpoints property
  135. - Remove the hack of 'endpoint_dispatcher' field
  136. * ChannelDispatcherCollection.cs
  137. - Add support for 'Attach' 'Detach'
  138. * EndpointDispatcher.cs
  139. - By default create MatchAllMessageFilter.
  140. 2008-02-17 Atsushi Enomoto <[email protected]>
  141. * EndpointDispatcher.cs : we don't need AddressFilter workaround
  142. from Feb. 14 anymore.
  143. 2008-02-17 Atsushi Enomoto <[email protected]>
  144. * EndpointDispatcher.cs : after service method call, apply outgoing
  145. headers and properties to the returned message.
  146. 2008-02-15 Atsushi Enomoto <[email protected]>
  147. * ChannelDispatcher.cs : populate DispatchOperations before applying
  148. IEndpointBehaviors so that those behaviors can modify dispatch
  149. operations.
  150. 2008-02-15 Atsushi Enomoto <[email protected]>
  151. * DispatchOperation.cs : Action may be null. For such cases, use
  152. MessageDirection to determine the message description.
  153. 2008-02-15 Atsushi Enomoto <[email protected]>
  154. * EndpointAddressMessageFilter.cs : implement Match(MessageBuffer).
  155. Use ordinal string comparison.
  156. * PrefixEndpointAddressMessageFilter.cs : implement Match() (both).
  157. 2008-02-14 Atsushi Enomoto <[email protected]>
  158. * EndpointDispatcher.cs : moved AddressFilter application only when
  159. DispatchOperation was not selected (it is sort of workaround).
  160. 2007-08-19 Atsushi Enomoto <[email protected]>
  161. * DefaultMessageOperationFormatter.cs : Fixed SerializeReply() for
  162. message contract type to process result, not the parameter.
  163. 2007-08-19 Atsushi Enomoto <[email protected]>
  164. * SingletonInstanceContextProvider.cs : new.
  165. 2007-08-17 Atsushi Enomoto <[email protected]>
  166. * DefaultMessageOperationFormatter.cs : dependent changes on
  167. message serializer and deserializer.
  168. 2007-03-24 Atsushi Enomoto <[email protected]>
  169. * DefaultMessageOperationFormatter.cs :
  170. use it for deserialization as well.
  171. 2007-03-24 Atsushi Enomoto <[email protected]>
  172. * DefaultMessageOperationFormatter.cs : consider message contracts
  173. during message serialization/deserialization.
  174. 2007-03-07 Atsushi Enomoto <[email protected]>
  175. * EndpointDispatcher.cs : now dispatcher-side foundation for token
  176. negotiation is ready. Handle negotiation message on its own way.
  177. * DispatchOperation.cs : instead of returning irrelevant SOAP Fault,
  178. simply raise an error and let FaultConverter do better work.
  179. 2007-03-07 Atsushi Enomoto <[email protected]>
  180. * EndpointDispatcher.cs : use ErrorHandlers when error was raised.
  181. Handle exceptions to make into SOAP Fault, using FaultConverter.
  182. * ChannelDispatcher.cs : simply get ServiceEndpoint at Attach().
  183. * ChannelDispatcherBase.cs : removed MonoTODOs.
  184. 2007-03-07 Atsushi Enomoto <[email protected]>
  185. * ChannelDispatcher.cs, DispatchRuntime.cs, EndpointDispatcher.cs :
  186. moved most of request/input processing to EndpointDispatcher.cs.
  187. Also, ChannelDispatcher now contains code for behavior
  188. initialization.
  189. 2007-03-07 Atsushi Enomoto <[email protected]>
  190. * ChannelDispatcher.cs : some cosmetic refactoring on error handling
  191. with comments.
  192. 2006-12-14 Atsushi Enomoto <[email protected]>
  193. * ChannelDispatcher.cs, DispatchRuntime.cs, DispatchOperation.cs :
  194. Support OperationContext and OperationContextScope with
  195. ServiceRuntimeChannel as its .ctor() input.
  196. 2006-12-14 Atsushi Enomoto <[email protected]>
  197. * DispatchRuntime.cs : raise an error when the DispatchOperation
  198. returned null Message.
  199. 2006-10-18 Ankit Jain <[email protected]>
  200. * MexInstanceContextProvider.cs (HttpGetInstanceContextProvider): New.
  201. * DispatchOperation.cs (DoProcessRequest): InstanceContext returned by
  202. the provider can be null.
  203. * EndpointAddressMessageFilter.cs (Match): Handle IncludeHostNameInComparison.
  204. 2006-10-12 Atsushi Enomoto <[email protected]>
  205. * DispatchOperation.cs : slightly improved exception message.
  206. 2006-10-06 Ankit Jain <[email protected]>
  207. * ChannelDispatcher.cs (ListenerLoopManager.StartLoopCore):
  208. ReceiveRequest can return null.
  209. 2006-10-05 Atsushi Enomoto <[email protected]>
  210. * ClientRuntime.cs : added MaxFaultSize.
  211. 2006-10-05 Atsushi Enomoto <[email protected]>
  212. * ChannelDispatcher.cs : don't reject anonymous and null To.
  213. 2006-10-04 Ankit Jain <[email protected]>
  214. * ChannelDispatcher.cs (ListenerLoopManager.StartLoopCore): Reply with a
  215. Fault message if message's To doesn't match the endpoint.
  216. (ListenerLoopManager.CreateDestinationUnreachable): New.
  217. * IInstanceContextProvider.cs: New.
  218. * MexInstanceContextProvider.cs: New. InstanceContextProvider for
  219. MetadataExchange.
  220. (MetadataExchange): Implementation of IMetadataExchange.
  221. * DispatchRuntime.cs (InstanceContextProvider): Add missing property.
  222. * DispatchOperation.cs (DoProcessRequest): Use InstanceContextProvider
  223. if available to obtain service instance.
  224. * EndpointDispatcher.cs (.ctor): Set AddressFilter to EndpointAddressMessageFilter.
  225. * EndpointAddressMessageFilter.cs (Match): Implement.
  226. 2006-10-03 Atsushi Enomoto <[email protected]>
  227. * ClientRuntime.cs : added InteractiveChannelInitializer.
  228. 2006-09-12 Atsushi Enomoto <[email protected]>
  229. * DispatchOperation.cs : removed extra comment.
  230. 2006-09-08 Atsushi Enomoto <[email protected]>
  231. * DispatchOperation.cs : workaround to send exception detail.
  232. 2006-09-06 Atsushi Enomoto <[email protected]>
  233. * ICallContextInitializer.cs : new file.
  234. * DispatchOperation.cs : use above.
  235. Not sure if it works correctly though.
  236. 2006-08-28 Atsushi Enomoto <[email protected]>
  237. * DispatchOperation.cs : when there is an error during
  238. ProcessRequest(), wrap the exception with MessageFault and return
  239. a fault message.
  240. 2006-08-10 Duncan Mak <[email protected]>
  241. * ExceptionHandler.cs: New file.
  242. * ServiceThrottle.cs (MaxConnections): Renamed to
  243. MaxConcurrentSessions.
  244. (MaxInstances): Renamed to MaxConcurrentInstances.
  245. 2006-07-27 Atsushi Enomoto <[email protected]>
  246. * IInteractiveChannelInitializer.cs : new file.
  247. 2006-07-14 Atsushi Enomoto <[email protected]>
  248. * IErrorHandler.cs : API updates.
  249. 2006-07-13 Atsushi Enomoto <[email protected]>
  250. * DispatchRuntime.cs :
  251. it was selecting UnhandledOperation unexpectedly.
  252. * DispatchOperation.cs : added FIXME comment.
  253. 2006-07-13 Atsushi Enomoto <[email protected]>
  254. * DefaultMessageOperationFormatter.cs : Remove hack for non-
  255. (de)serializing Message-based methods. They are now moved to
  256. ClientBase and ServiceHostBase to explicitly set
  257. [Serialize|Deserialize][Request|Reply].
  258. 2006-07-12 Atsushi Enomoto <[email protected]>
  259. * DefaultMessageOperationFormatter.cs : don't omit action on
  260. SerializeRequest. Do it in SerializeReply.
  261. 2006-07-12 Atsushi Enomoto <[email protected]>
  262. * DefaultMessageOperationFormatter.cs : When addressing version is
  263. None, then omit reply action. This logic is moved from MessageImpl.
  264. 2006-07-11 Atsushi Enomoto <[email protected]>
  265. * DefaultMessageOperationFormatter.cs :
  266. return message, not parameter[0]. Removed some extra FIXMEs.
  267. 2006-07-10 Atsushi Enomoto <[email protected]>
  268. * DefaultMessageOperationFormatter.cs : when the parameter is
  269. Message and the return type is Message, then do not use
  270. XmlObjectSerializer.
  271. 2006-07-07 Atsushi Enomoto <[email protected]>
  272. * PrefixEndpointAddressMessageFilter.cs, FaultContractInfo.cs :
  273. new types in June CTP.
  274. * ISharedInstanceSessionLifetime.cs:
  275. removed in June CTP.
  276. * ChannelDispatcher.cs, MatchAllMessageFilter.cs, DispatchRuntime.cs,
  277. DispatchOperation.cs, ClientRuntime.cs, MatchNoneMessageFilter.cs,
  278. ClientOperation.cs, ActionMessageFilterTable.cs,
  279. EndpointAddressMessageFilterTable.cs :
  280. several minor fixes for June CTP.
  281. 2006-07-06 Atsushi Enomoto <[email protected]>
  282. * DispatchOperation.cs : MessageFault.DefaultAction vanished.
  283. 2006-07-05 Atsushi Enomoto <[email protected]>
  284. * IClientFormatter.cs, IClientMessageFormatter.cs,
  285. IDispatchFormatter.cs, IDispatchMessageFormatter.cs :
  286. renamed former to latter, for each.
  287. 2006-07-05 Atsushi Enomoto <[email protected]>
  288. * ChannelDispatcher.cs, DispatchRuntime.cs :
  289. IRequestContext -> RequestContext.
  290. 2006-07-05 Atsushi Enomoto <[email protected]>
  291. * ChannelDispatcher.cs, IDispatchFormatter.cs,
  292. DefaultMessageOperationFormatter.cs, IClientFormatter.cs,
  293. DispatchOperation.cs, ClientOperation.cs :
  294. some June CTP updates.
  295. 2006-06-22 Atsushi Enomoto <[email protected]>
  296. * DefaultMessageOperationFormatter.cs : implement SerializeRequest()
  297. and DeserializeReply(). Now simple ClientBase<T> sample is working.
  298. 2006-06-22 Atsushi Enomoto <[email protected]>
  299. * ClientOperation.cs : added GetFormatter() to support message
  300. serialization/deserialization.
  301. * DispatchOperation.cs : made some internal members private
  302. (they are exposed extraneously). Commented out debugging code.
  303. 2006-06-20 Atsushi Enomoto <[email protected]>
  304. * DefaultMessageOperationFormatter.cs : In SerializeReply(), use
  305. custom BodyWriter() and use MessagePartDescription names. Now
  306. return value and other (ref/out) parameters could be equivalently
  307. serialized (at this method; to support them more love is needed).
  308. 2006-06-20 Atsushi Enomoto <[email protected]>
  309. * DefaultMessageOperationFormatter.cs :
  310. Action for response is null (though it is likely conditional).
  311. 2006-06-20 Atsushi Enomoto <[email protected]>
  312. * DefaultMessageOperationFormatter.cs :
  313. true DeserializeReply implementation using Message.CreateMessage()
  314. with DataContractSerializer (not complete though).
  315. 2006-05-29 Atsushi Enomoto <[email protected]>
  316. * ChannelDispatcher.cs, DispatchOperation.cs,
  317. ChannelDispatcherBase.cs :
  318. some updated API fixes.
  319. 2006-05-29 Atsushi Enomoto <[email protected]>
  320. * EndpointDispatcher.cs : moved from Sys.ServiceModel.
  321. 2006-04-20 Atsushi Enomoto <[email protected]>
  322. * ClientRuntime.cs : some minor collection instantiation and comments.
  323. 2006-04-07 Atsushi Enomoto <[email protected]>
  324. * DispatchOperation.cs : Implemented internal MessageVersion.
  325. hacked instance provision by using Activator.CreateInstance.
  326. * DefaultMessageOperationFormatter.cs : fixed DeserializeRequest to
  327. be functional. Implemented SerializeReply.
  328. 2006-04-05 Atsushi Enomoto <[email protected]>
  329. * DispatchOperation.cs : return SOAP fault message for nonexistent
  330. request Action.
  331. * DefaultMessageOperationFormatter.cs : implemented
  332. DeserializeRequest(), though there is no working example.
  333. 2006-03-17 Atsushi Enomoto <[email protected]>
  334. * DispatchOperation.cs : implemented logic to acquire
  335. OperationDescription. Added code for default IDispatchFormatter
  336. implementation.
  337. * DispatchRuntime.cs : fix warning.
  338. * DefaultMessageOperationFormatter.cs : new file, for default
  339. IDispatchFormatter implementation (not done yet).
  340. * ChannelDispatcher.cs : create EndpointDispatcher in Attach and
  341. bind to this instance.
  342. 2006-03-16 Atsushi Enomoto <[email protected]>
  343. * ChannelDispatcherCollection.cs : added parameterless ctor().
  344. * ChannelDispatcher.cs DispatchRuntime.cs DispatchOperation.cs :
  345. Set some initial field values as proved in unit tests.
  346. Request/input processing is still ongoing.
  347. 2006-03-13 Atsushi Enomoto <[email protected]>
  348. * ChannelDispatcher.cs
  349. DispatchRuntime.cs
  350. DispatchOperation.cs : added request/input processing code.
  351. 2006-03-07 Atsushi Enomoto <[email protected]>
  352. * ChannelDispatcher.cs : Get "AcceptChannel" method without ambiguity.
  353. 2006-03-07 Atsushi Enomoto <[email protected]>
  354. * ChannelDispatcher.cs : Added request-processing code.
  355. 2006-03-06 Atsushi Enomoto <[email protected]>
  356. * ChannelDispatcher.cs : implement Attach() and Detach() more to work.
  357. 2006-02-23 Atsushi Enomoto <[email protected]>
  358. * DispatchBehavior.cs :
  359. Dependent fixes for System.IdentityModel reorgainzation.
  360. 2006-02-23 Atsushi Enomoto <[email protected]>
  361. * FilterNodeQuotaExceededException.cs
  362. FilterInvalidBodyAccessException.cs DispatchBehavior.cs
  363. DispatchOperation.cs NavigatorInvalidBodyAccessException.cs
  364. MatchNoneFilter.cs ActionFilter.cs
  365. MultipleFilterMatchesException.cs Filter.cs
  366. IInstanceContextInitializer.cs XPathFilter.cs
  367. IDispatchOperationSelector.cs MatchAllFilter.cs
  368. ActionFilterTable.cs EndpointAddressFilter.cs FilterTable.cs
  369. EndpointFilterTable.cs XPathMessageContext.cs
  370. IEndpointDispatcher.cs ProxyBehavior.cs
  371. ProxyOperation.cs XPathFilterTable.cs
  372. EndpointAddressFilterTable.cs InvalidBodyAccessException.cs
  373. IFilterTable.cs IOperationInvoker.cs :
  374. moved from System.ServiceModel due to the API changes.