Gets or sets the requested lifetime count.
The lifetime count shall be a minimum of three times the keep keep-alive count.
When the publishing timer has expired this number of times without a Publish request being available to send a NotificationMessage,
then the Subscription shall be deleted by the Server.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Session
Dim value As UInteger
instance.SubscriptionRequestLifetimeCount = value
value = instance.SubscriptionRequestLifetimeCount
|
C# | |
---|
public uint SubscriptionRequestLifetimeCount {get; set;}
|
Property Value
The requested subscription keepalive count. The default is 1000.
Requirements
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x
See Also