public sealed class TimeoutOptionsPublic NotInheritable Class TimeoutOptionspublic ref class TimeoutOptions sealed[<SealedAttribute>]
type TimeoutOptions = class end
For example, your appsettings.json file would have this entry -
{
"TimeoutOptions": {
"MissedMessages": 8,
"Timeout": null
}
}
The command line could define the timeout "--TimeoutOptions:MissedMessages=8".
Timeouts can be disabled by setting Timeout to -1 and ignoring or setting MissedMessages to null.
| TimeoutOptions | Initializes a new instance of the TimeoutOptions class |
| MissedMessages | Gets or sets the number of missed messages before an ANT device goes offline. |
| Timeout | Gets or sets the timeout before an ANT device goes offline. |
| Equals | (Inherited from Object) |
| GetHashCode | (Inherited from Object) |
| GetType | (Inherited from Object) |
| ToString | (Inherited from Object) |