<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 />

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

Attributes

None.

Child Elements

None.

Parent Elements

Element Description

<behavior> of <endpointBehaviors>

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.


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft