Export (0) Print
Expand All

LocalServiceSecuritySettings.MaxPendingSessions Property

Gets or sets the maximum number of concurrent security sessions that are established with the server for which it has issued a session token but for which no application messages are sent.

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

public int MaxPendingSessions { get; set; }

Property Value

Type: System.Int32
The maximum number of concurrent security sessions. The default is 128.

ExceptionCondition
ArgumentOutOfRangeException

The property is set to a value less than 0.

This example shows how to get the MaxPendingSessions value.

int maxPendingSessions = settings.MaxPendingSessions;

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2014 Microsoft