PlaceMonitorSimulator.GetPlaceAtAsync Method

Gets the place at given time.

Namespace: Lumia.Sense.Testing
Assembly: Lumia.Sense.Testing (in Lumia.Sense.Testing.dll) Version: 255.255.255.255

Syntax

public IAsyncOperation<Place> GetPlaceAtAsync(
    DateTimeOffset timestamp
)
'Declaration
Public Function GetPlaceAtAsync ( 
    timestamp As DateTimeOffset
) As IAsyncOperation(Of Place)
public:
virtual IAsyncOperation<Place^>^ GetPlaceAtAsync(
    [InAttribute] DateTimeOffset timestamp
) sealed
function GetPlaceAtAsync(timestamp);

Parameters

Return Value

Type: IAsyncOperation<Place>
Place at the given time

Implements

IPlaceMonitor.GetPlaceAtAsync(DateTimeOffset)

Exceptions

Exception Condition
COMException All errors are thrown as instances of COMException. To get details about the error pass the HResult property of the exception to GetSenseError(Int32). This method can return the following SenseError enumeration values: InvalidParameter, SensorDeactivated, GeneralFailure, NotFound, SenseDisabled, LocationDisabled

See Also

PlaceMonitorSimulator Class

PlaceMonitorSimulator.PlaceMonitorSimulator Members

Lumia.Sense.Testing Namespace