LocalClientSecuritySettings.TimestampValidityDuration Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the maximum duration that the messages are valid when sent by the client. If a message is received by the service after this duration, it should discard the message.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.TimeSpanA TimeSpan that represents the maximum duration that the messages are valid when sent by the client. The default is five minutes.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The property value is less than 0. |
Show: