Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Schema Hierarchy
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior> of <endpointBehaviors>
<synchronousReceive> element
Syntax
<synchronousReceive />
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
None.
Parent Elements
Element | Description |
---|---|
Specifies an endpoint behavior. |
Remarks
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
Reference
SynchronousReceiveElement
SynchronousReceiveBehavior
© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05