TimestampValidityDuration Property
Collapse the table of content
Expand the table of content

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.

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

public TimeSpan TimestampValidityDuration { get; set; }

Property Value

Type: System.TimeSpan
A TimeSpan that represents the maximum duration that the messages are valid when sent by the client. The default is five minutes.

ExceptionCondition
ArgumentOutOfRangeException

The property value is less than 0.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft