public sealed class TimeoutOptions
Public NotInheritable Class TimeoutOptions
public ref class TimeoutOptions sealed
[<SealedAttribute>]
type TimeoutOptions = class end
For example, your appsettings.json file would have this entry -
{
"TimeoutOptions": {
"MissedMessages": 8,
"Timeout": null
}
}
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 | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |