Export (0) Print
Expand All
Expand Minimize

GetPersonInfo Method

HealthVault
Gets the information about the person specified.

Namespace: Microsoft.Health
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: 2.1.0.0 (1.15.1003.9505)

public static PersonInfo GetPersonInfo(
	ApplicationConnection connection
)

Parameters

connection
Type: Microsoft.Health..::..ApplicationConnection
The connection to use to perform the operation. This connection must be authenticated.

Return Value

Information about the person's HealthVault account.

This method always calls the HealthVault service to get the latest information. It is recommended that the calling application cache the return value and only call this method again if it needs to refresh the cache.

ExceptionCondition
Microsoft.Health..::..HealthServiceException The HealthVault service returned an error.
Show:
© 2014 Microsoft