TimeServiceSettings Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Manages settings that control synchronizing the system time with a server's time.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT.Time..::..TimeServiceSettings
Namespace: Microsoft.SPOT.Time
Assembly: Microsoft.SPOT.Time (in Microsoft.SPOT.Time.dll)
Syntax
'Declaration
Public Class TimeServiceSettings
public class TimeServiceSettings
public ref class TimeServiceSettings
type TimeServiceSettings = class end
public class TimeServiceSettings
The TimeServiceSettings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TimeServiceSettings | Initializes a new instance of the TimeServiceSettings class. |
Top
Properties
Name | Description | |
---|---|---|
AlternateServer | Gets or sets the IP address of the alternate SNTP server. | |
PrimaryServer | Gets or sets the IP address of the primary SNTP server. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
AlternateServerIP | Specifies the server to use if communication with the primary server fails. | |
AutoDayLightSavings | Indicates whether the system time is automatically updated for daylight savings. | |
ForceSyncAtWakeUp | Indicates whether the system time syncs with the SNTP server after waking up or after a cold boot. | |
PrimaryServerIP | The IP address of the primary SNTP server. | |
RefreshTime | Specifies the period between synchronizations with the SNTP server, in seconds. | |
Tolerance | Specifies the largest allowable interval between the time on the SNTP server and the system time, in milliseconds, before the system time is re-synchronized with the server's time. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.