The Timeout type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Timeout | Overloaded. |
Methods
Name | Description | |
---|---|---|
Add |
Adds one timeout to another.
| |
Compare |
Compares two timeouts.
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetAbsolute |
Converts a relative timeout to an absolute time.
| |
GetCurrentTime |
Returns the current absolute time.
| |
GetHashCode | (Inherited from Object.) | |
GetHighResolutionTime |
Returns the current time with the highest resolution possible. On Windows systems
it returns the same value as GetCurrentTime()()().
| |
GetMilliseconds |
Returns the total number of milliseconds in the timeout.
| |
GetRelative |
Converts an absolute time to a relative timeout.
| |
GetType | (Inherited from Object.) | |
IsAbsolute |
Indicates whether the timeout is absolute or relative.
| |
IsExpired |
Indicates whether the timeout has expired.
| |
IsNegative |
Indicates whether the timeout is negative. Absolute timeouts are never negative.
| |
IsZero |
Indicates whether the timeout is zero.
| |
MemberwiseClone | (Inherited from Object.) | |
Subtract |
Subtracts one timeout from another.
| |
ToString |
Returns a string representation of the timeout.
(Overrides Object..::.ToString()()().) |
Properties
Name | Description | |
---|---|---|
Nanoseconds |
The number of nanoseconds in the timeout.
| |
Seconds |
The number of seconds in the timeout.
|