Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LocalClientSecuritySettings::SessionKeyRolloverInterval Property

 

Gets or sets the time interval for which the previous session key is valid on incoming messages during a key renewal.

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

public:
property TimeSpan SessionKeyRolloverInterval {
	TimeSpan get();
	void set(TimeSpan value);
}

Property Value

Type: System::TimeSpan

A TimeSpan that represents the time interval for which the previous session key is valid on incoming messages after a key renewal. The default is 5 minutes.

Exception Condition
ArgumentOutOfRangeException

The property is set to a value less than 0.

After key renewal, the client and the server should always send messages using the most current available key. Both parties can accept incoming messages secured with the previous session key until the rollover time expires.

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft