ConnectionOrientedTransportBindingElement.MaxPendingAccepts Property

Definition

Gets or sets the maximum number of pending asynchronous accept operations that are available for processing incoming connections to the service.

public int MaxPendingAccepts { get; set; }
member this.MaxPendingAccepts : int with get, set
Public Property MaxPendingAccepts As Integer

Property Value

System.Int32

The maximum number of connections the service can accept simultaneously. The default value is 1.

Exceptions

System.ArgumentOutOfRangeException

The value is less than or equal to zero.

Applies to