Επεξεργασία

Κοινή χρήση μέσω


LocalServiceSecuritySettings.MaxPendingSessions Property

Definition

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.

public:
 property int MaxPendingSessions { int get(); void set(int value); };
public int MaxPendingSessions { get; set; }
member this.MaxPendingSessions : int with get, set
Public Property MaxPendingSessions As Integer

Property Value

The maximum number of concurrent security sessions. The default is 128.

Exceptions

The property is set to a value less than 0.

Examples

This example shows how to get the MaxPendingSessions value.

int maxPendingSessions = settings.MaxPendingSessions;
Dim maxPendingSessions = settings.MaxPendingSessions

Applies to