ApplicationConnection Property

HealthVault
Gets a HealthVault connection authenticated at tier 1 for the configured default HealthVault web-service instance.

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

public ApplicationConnection ApplicationConnection { get; }

Return Value

A ApplicationConnection connection.

If a connection has already been made on the page, that connection is returned. If no connection has been made, a new connection is created and returned.

ExceptionCondition
System.Security..::..SecurityException If the application private key could not be found in the certificate store to sign requests.
Show: