Export (0) Print
Expand All

GetApplicationInfo Method (HealthServiceConnection, Boolean)

HealthVault
Gets the application configuration information for the calling application.

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

public static ApplicationInfo GetApplicationInfo(
	HealthServiceConnection connection,
	bool allLanguages
)

Parameters

connection
Type: Microsoft.Health..::..HealthServiceConnection
The connection to use to perform the operation. This connection must be application level.
allLanguages
Type: System..::..Boolean
A boolean value indicating whether the localized values all languages should be returned, just one language. This affects all properties which can have multiple localized values, including CultureSpecificNames, CultureSpecificDescriptions, CultureSpecificAuthorizationReasons, LargeLogo, SmallLogo, PrivacyStatement, TermsOfUse, and DtcSuccessMessage

Return Value

An ApplicationInfo object for the calling application.

This method always calls the HealthVault service to get the latest information. It returns installation configuration about the calling application.

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