แก้ไข

แชร์ผ่าน


<dispatcherSynchronization>

Specifies an endpoint behavior that enables a service to send replies asynchronously.

<configuration>
  <system.serviceModel>
    <behaviors>
      <endpointBehaviors>
        <behavior>
          <dispatcherSynchronization>

Syntax

<dispatcherSynchronizationBehavior asynchronousSendEnabled="Boolean"
                                   maxPendingReceives="Integer" />

Type

Type

Attributes and elements

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

Attributes

Attribute Description
asynchronousSendEnabled A Boolean that specifies whether asynchronous send behavior is enabled.
maxPendingReceives An integer that specifies the number of concurrent receives that can be issued on the channel.

This value should be configured only after you have properly configured service throttling behavior.

Child elements

None.

Parent elements

Element Description
<behavior> Specifies an endpoint behavior.

See also