AuthenticatedConnection Property

Gets a HealthVault connection authenticated at tier 3.

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

public WebApplicationConnection AuthenticatedConnection { get; }

Return Value

A WebApplicationConnection 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.

System.Security..::..SecurityException If the application private key could not be found in the certificate store to sign requests.
System..::..InvalidOperationException If a person has not been logged in.