Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the TimeSyncFailedEventArgs class.
Namespace: Microsoft.SPOT.Time
Assembly: Microsoft.SPOT.Time (in Microsoft.SPOT.Time.dll)
Syntax
'Declaration
Public Sub New ( _
eventTime As DateTime, _
errorCode As UInteger _
)
public TimeSyncFailedEventArgs(
DateTime eventTime,
uint errorCode
)
public:
TimeSyncFailedEventArgs(
DateTime eventTime,
unsigned int errorCode
)
new :
eventTime:DateTime *
errorCode:uint32 -> TimeSyncFailedEventArgs
public function TimeSyncFailedEventArgs(
eventTime : DateTime,
errorCode : uint
)
Parameters
- eventTime
Type: System. . :: . .DateTime
The system time at which the attempt to sync the time failed.
- errorCode
Type: System. . :: . .UInt32
The error code indicating why the attempt failed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.