Gets or sets the requested maximum keep-alive count in AddSubscription.
When the publishing timer has expired this number of times without requiring any NotificationMessage to be sent,
the Subscription sends a keep-alive Message to the Client.
The negotiated value for this parameter is returned in the response.
If the requested value is 0, the server shall revise with the smallest supported keep-alive count.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Session
Dim value As UInteger
instance.SubscriptionRequestKeepaliveCount = value
value = instance.SubscriptionRequestKeepaliveCount
|
C# | |
---|
public uint SubscriptionRequestKeepaliveCount {get; set;}
|
Property Value
The requested subscription keepalive count. The default is 10.
Requirements
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x
See Also