IPlaceMonitor.GetWorkAsync Method

Gets the work location.

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

Syntax

IAsyncOperation<Place> GetWorkAsync()
'Declaration
Function GetWorkAsync As IAsyncOperation(Of Place)
IAsyncOperation<Place^>^ GetWorkAsync()
function GetWorkAsync();

Return Value

Type: IAsyncOperation<Place>
The work place.

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: SensorDeactivated, GeneralFailure, SenseDisabled, LocationDisabled

See Also

IPlaceMonitor Interface

IPlaceMonitor.IPlaceMonitor Members

Lumia.Sense Namespace