Share via


TimeServiceStatus Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides the status representing a Time service method call.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT.Time..::..TimeServiceStatus

Namespace:  Microsoft.SPOT.Time
Assembly:  Microsoft.SPOT.Time (in Microsoft.SPOT.Time.dll)

Syntax

'Declaration
Public Class TimeServiceStatus
public class TimeServiceStatus
public ref class TimeServiceStatus
type TimeServiceStatus =  class end
public class TimeServiceStatus

The TimeServiceStatus type exposes the following members.

Constructors

  Name Description
Public method TimeServiceStatus Initializes a new instance of the TimeServiceStatus class.

Top

Properties

  Name Description
Public property CurrentTimeUTC Gets the current UTC system time.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public field Flags A combination of TimeServiceStatus..::..TimeServiceStatusFlags enumeration values.
Public field SyncSourceServer The IP address of the server that was used to sync the system time.
Public field SyncTimeOffset Specifies the offset in milliseconds since the last time a successful sync occurred between the system time and the server's time.
Protected field TimeUTC Indicates the current 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.

See Also

Reference

Microsoft.SPOT.Time Namespace