Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

UpdateChildApplication Method

HealthVault
Updates the application's configuration in HealthVault.

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

public static void UpdateChildApplication(
	ApplicationConnection connection,
	ApplicationInfo applicationInfo
)

Parameters

connection
Type: Microsoft.Health..::..ApplicationConnection
The connection to use to make the update.
applicationInfo
Type: Microsoft.Health..::..ApplicationInfo
The updated ApplicationInfo instance.

This method makes a remote call to the HealthVault service. The calling application in the connection must be the same as the application specified by this ApplicationInfo instance or its master application. Note, this update will replace all configuration elements for the application. It is advised that GetApplication(OfflineWebApplicationConnection, Guid) is called to retrieve the existing application configuration before changing values and calling Update.

ExceptionCondition
System..::..ArgumentNullException If connection is null.
Microsoft.Health..::..HealthServiceException The HealthVault service returned an error.
Show:
© 2015 Microsoft