DisconnectDelaySeconds

View as Markdown

Definition

Determines the amount of time a disconnect would have to last before connection loss handling takes action.

Property Value

An int value represents the time required for a disconnect to last before connection loss handling actions will occur. Default value is 10.

Syntax

DisconnectDelaySeconds

Examples

1protected override void OnStateChange()
2{
3 if (State == State.SetDefaults)
4 {
5 // Disconnect has to be at least 10 seconds
6 DisconnectDelaySeconds = 10;
7 }
8}