Export (0) Print
Expand All

LocalClientSecuritySettings.MaxCookieCachingTime Property

Gets or sets the maximum caching time for secure conversation cookies.

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

public TimeSpan MaxCookieCachingTime { get; set; }

Property Value

Type: System.TimeSpan
A TimeSpan that represents the maximum caching time for secure conversation cookies. The default is 10675199 days.

ExceptionCondition
ArgumentOutOfRangeException

The property is set to a value less than 0.

This example shows how to get the MaxCookieCachingTimevalue.

TimeSpan maxCookieCachingTime = settings.MaxCookieCachingTime;

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft