LocalClientSecuritySettings.SessionKeyRenewalInterval Property

 

Gets or sets the time span after which the initiator renews the key for the security session.

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

public TimeSpan SessionKeyRenewalInterval { get; set; }

Property Value

Type: System.TimeSpan

A TimeSpan that represents the time span after which the initiator renews the key for the security session. The default is 10 hours.

Exception Condition
ArgumentOutOfRangeException

The property is set to a value less than 0.

Session settings such as this one are applicable under any of the following conditions:

Session settings such as this one are not applicable under any of the following conditions:

This example shows how to get this property.

TimeSpan sessionKeyRenewalInterval = settings.SessionKeyRenewalInterval;

.NET Framework
Available since 3.0
Return to top
Show: