LocalServiceSecuritySettings.SessionKeyRenewalInterval Property

Definition

Gets or sets the lifetime of a key used in a security session. When this interval expires the key is automatically renewed.

C#
public TimeSpan SessionKeyRenewalInterval { get; set; }

Property Value

The time span after which the service requires that the initiator renew the key used for the security session. If the initiator does not renew the key within this time the service sends back a fault to the initiator. The default is 15 hours.

Exceptions

The property is set to a value less than 0.

Examples

This example shows how get the value of this property.

C#
TimeSpan sessionKeyRenewalInterval =
settings.SessionKeyRenewalInterval;

Remarks

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:

Applies to

Tuote Versiot
.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