PollingDuplexBindingElement.MaxPendingMessagesPerSession Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the maximum number of pending messages per session.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel.PollingDuplex (in System.ServiceModel.PollingDuplex.dll)

Syntax

'Declaration
Public Property MaxPendingMessagesPerSession As Integer
public int MaxPendingMessagesPerSession { get; set; }

Property Value

Type: System.Int32
The maximum number of pending messages per session.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The value set is less than zero.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.