LocalServiceSecuritySettings.MaxCachedCookies Property
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 SecurityContextSecurityTokens that the service allows to cache at once.
public:
property int MaxCachedCookies { int get(); void set(int value); };
public int MaxCachedCookies { get; set; }
member this.MaxCachedCookies : int with get, set
Public Property MaxCachedCookies As Integer
The maximum number of secure conversation cookies that can be cached by the service. When this limit is reached the service removes the oldest cached secure conversation cookies to make room for new secure conversation cookies. The default is 1000.
The property is set to a value less than 0.
This example shows how to get the MaxCachedCookies
value.
int maxCachedCookies = settings.MaxCachedCookies;
Dim maxCachedCookies = settings.MaxCachedCookies
Produkt | Verzie |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Pripomienky k produktu .NET
.NET je open-source projekt. Ak chcete poskytnúť pripomienky, vyberte prepojenie: