LocalClientSecuritySettings::SessionKeyRolloverInterval Property
Gets or sets the time interval for which the previous session key is valid on incoming messages during a key renewal.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property TimeSpan SessionKeyRolloverInterval { TimeSpan get(); void set(TimeSpan value); }
Property Value
Type: System::TimeSpanA 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:
All client credential types for WSDualHttpBinding and NetTcpBinding.
If <reliableSession> element is enabled.
If <reliableSession> element is not enabled, on WSHttpBinding with UserName = true or P:System.ServiceModel.Description.ClientCredentials.windows = true.
Session settings such as this one are not applicable under any of the following conditions:
For BasicHttpBinding.
For NetNamedPipeBinding.
If <reliableSession> element is not enabled, on WSHttpBinding with ClientCertificate = true or with none of the ClientCredentials properties set to true.
Available since 3.0