LocalServiceSecuritySettings.MaxPendingSessions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.