Connect​Package Class

Definition

Methods for accessing the package APIs of HealthVault.

public static class ConnectPackage
Inheritance
ConnectPackage

Remarks

The ConnectPackage class allows applications to send user data to the user's HealthVault account, outside of the context of an ongoing interaction with the user. The application can do this by sending a data package to the HealthVault service along with the application's identifier and user specific information. The user can then go to HealthVault Shell and add the package's contents to their appropriate health record.

Methods

Allocate​Package​Id(​Offline​Web​Application​Connection)

Allocates a package ID within HealthVault and returns it.

Create(​Connect​Package​Creation​Parameters, ​IList<​Health​Record​Item>)

Represents a package of user data that is created by HealthVault in order to be retrieved by a user using the HealthVault Shell.

Create(​Offline​Web​Application​Connection, ​String, ​String, ​String, ​Password​Protected​Package)

Asks HealthVault to create a pending package for the application specified by the connection with the specified user specific parameters.

Create(​Offline​Web​Application​Connection, ​String, ​String, ​String, ​String, ​Password​Protected​Package)

Asks HealthVault to create a pending package for the application specified by the connection with the specified user specific parameters and the pre-allocated identity code.

Create(​Offline​Web​Application​Connection, ​String, ​String, ​String, ​String, ​IList<​Health​Record​Item>)

Represents a package of user data that is created by HealthVault in order to be retrieved by a user using the HealthVault Shell.

Create​Package(​Offline​Web​Application​Connection, ​String, ​String, ​String, ​String, ​String, ​IList<​Health​Record​Item>)

Asks HealthVault to create a pending package for the application specified by the connection with the specified user specific parameters.

Delete​Pending(​Offline​Web​Application​Connection, ​String)

Deletes all packages that have been created by the calling application for the applicationPatientId and have not been accepted by the user.

Delete​Pending​For​Identity​Code(​Offline​Web​Application​Connection, ​String)

Deletes a single package that has been created by the calling application but has not been accepted by the user.

Update​Application​Patient​Id(​Offline​Web​Application​Connection, ​String, ​String)

Updates existing pending packages with a new application patient identifier.

Update​Application​Patient​Id​For​Identity​Code(​Offline​Web​Application​Connection, ​String, ​String)

Updates an existing pending package with a new application patient identifier.