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

AddChildApplication Method

HealthVault
Adds a HealthVault application instance for a "child" application of the calling application.

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

public static Guid AddChildApplication(
	OfflineWebApplicationConnection connection,
	ApplicationInfo applicationConfigurationInformation
)

Parameters

connection
Type: Microsoft.Health.Web..::..OfflineWebApplicationConnection
The connection to use to add the application.
applicationConfigurationInformation
Type: Microsoft.Health..::..ApplicationInfo
Configuration information about the application being provisioned.

Return Value

The new application identifier for the new application provided by HealthVault.

ExceptionCondition
System..::..ArgumentNullException If connection or applicationConfigurationInformation is null.
System..::..ArgumentException If Name, PublicKeys, OfflineBaseAuthorizations, Description, AuthorizationReason, or LargeLogo is not specified.
Microsoft.Health..::..HealthServiceException If there is an error when the HealthVault service is called.
Show:
© 2015 Microsoft