Sdílet prostřednictvím


LocalServiceSecuritySettings.MaxPendingSessions Vlastnost

Definice

Získá nebo nastaví maximální počet souběžných relací zabezpečení, které jsou vytvořeny se serverem, pro který vydala token relace, ale pro které nejsou odesílány žádné zprávy aplikace.

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

Hodnota vlastnosti

Maximální počet souběžných relací zabezpečení. Výchozí hodnota je 128.

Výjimky

Vlastnost je nastavena na hodnotu menší než 0.

Příklady

Tento příklad ukazuje, jak získat MaxPendingSessions hodnotu.

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

Platí pro