Eksporter (0) Skriv ut
Vis alt
EN
Dette innholdet er ikke tilgjengelig på ditt språk, men her er den engelske versjonen.

ConnectionOrientedTransportBindingElement.MaxPendingConnections Property

Gets or sets the maximum number of connections awaiting dispatch on the service.

Namespace:  Microsoft.ServiceBus.Channels
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public int MaxPendingConnections { get; set; }

Property Value

Type: System.Int32
The maximum number of inbound connections awaiting dispatch on the service. The default value is 10.

ExceptionCondition
[ArguementOutOfRangeException]

The value is less than or equal to zero.

This limits the number of simultaneous client connections awaiting dispatch. If this value is too low, client connection attempts may be rejected by the service. If it is too high, the service may appear slow or unresponsive to clients during heavy load periods. This property should be set to a value that allows the service to run at full capacity, and no higher.

When a higher layer in the stack calls AcceptDispatch, that connection is removed from the queue of connections awaiting dispatch.

Fellesskapsinnhold

Legg til
Vis:
© 2014 Microsoft