<synchronousReceive> element

This configuration element is used to specify run-time behavior for receiving messages in either a service or client application. It does not have any attributes or child elements.



<synchronousReceive />

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.



Child Elements


Parent Elements

Element Description
<behavior> Specifies an endpoint behavior.


Use this behavior to instruct the channel listener to use a synchronous receive rather than the default, asynchronous. Windows Communication Foundation (WCF) issues a new thread to pump for each accepted channel. If there are a lot of channels, there is the possibility of running out of threads.

See also