ActivityMonitorSimulator.GetCurrentReadingAsync Method
Gets the current activity
Namespace: Lumia.Sense.Testing
Assembly: Lumia.Sense.Testing (in Lumia.Sense.Testing.dll) Version: 255.255.255.255
Syntax
public IAsyncOperation<ActivityMonitorReading> GetCurrentReadingAsync()
'Declaration
Public Function GetCurrentReadingAsync As IAsyncOperation(Of ActivityMonitorReading)
public:
virtual IAsyncOperation<ActivityMonitorReading^>^ GetCurrentReadingAsync() sealed
function GetCurrentReadingAsync();
Return Value
Type: IAsyncOperation<ActivityMonitorReading>
Current activity
Implements
IActivityMonitor.GetCurrentReadingAsync()
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: GeneralFailure |
See Also
ActivityMonitorSimulator Class