Offline​Web​Application​Connection Class

Definition

Represents a connection for an application to HealthVault for operations that are performed when a user is offline using the permissions granted by the user to the application.

public class OfflineWebApplicationConnection : Microsoft.Health.ApplicationConnection
Inheritance
Derived

Inherited Members

Microsoft.Health.ApplicationConnection

Microsoft.Health.HealthServiceConnection

Remarks

A connection must be made to HealthVault to access the Web methods that the service exposes. This class does not maintain an open connection to the service. It uses XML over HTTP to to make requests and receive responses from the service. The connection just maintains the data necessary to make the request.

For operations that require the user to be online, use the AuthenticatedConnection class.

Constructors

Offline​Web​Application​Connection()

Creates a new instance of the OfflineWebApplicationConnection class with default values.

Offline​Web​Application​Connection(​Guid)

Creates a new instance of the OfflineWebApplicationConnection class with the specified person identification.

Offline​Web​Application​Connection(​Health​Service​Instance, ​Guid)

Creates a new instance of the OfflineWebApplicationConnection class using the specified HealthVault web-service instance and person identification.

Offline​Web​Application​Connection(​Web​Application​Credential, ​Guid)

Creates a new instance of the OfflineWebApplicationConnection class with the specified credential and person identification.

Offline​Web​Application​Connection(​Web​Application​Credential, ​Health​Service​Instance, ​Guid)

Creates a new instance of the OfflineWebApplicationConnection class with the specified credential, HealthVault web-service instance, and person identification.

Offline​Web​Application​Connection(​Guid, ​Health​Service​Instance, ​Guid)

Creates a new instance of the OfflineWebApplicationConnection class with the specified application, HealthVault web-service instance, and person identification.

Offline​Web​Application​Connection(​Guid, ​String, ​Guid)

Creates an instance of the class for the specified application, and HealthVault URL.

Offline​Web​Application​Connection(​Guid, ​Uri, ​Guid)

Creates a new instance of the OfflineWebApplicationConnection class with the specified application, HealthVault service URL, and person identification.

Offline​Web​Application​Connection(​Web​Application​Credential, ​Guid, ​Health​Service​Instance, ​Guid)

Creates a new instance of the OfflineWebApplicationConnection class with the specified credential, application, HealthVault web-service instance, and person identification.

Offline​Web​Application​Connection(​Web​Application​Credential, ​Guid, ​String, ​Guid)

Creates a new instance of the OfflineWebApplicationConnection class with the specified credential, application, string-formatted HealthVault service URL, and person identification.

Offline​Web​Application​Connection(​Web​Application​Credential, ​Guid, ​Uri, ​Guid)

Creates a new instance of the OfflineWebApplicationConnection class with the specified credential, application, HealthVault service URL, and person identification.

Properties

Offline​Person​Id

Gets or sets the unique identifier of the offline person who granted permissions to the calling application to perform certain operations.

Methods

Authenticate()

Authenticates the application with HealthVault.

Get​All​Application​Settings()

Gets the application settings for the current application and person.

Get​Application​Settings()

Gets the application settings for the current application and person.

Set​Application​Settings(​IX​Path​Navigable)

Sets the application settings for the current application and person.