Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

DeletePendingConnectPackages Method

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

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

public static void DeletePendingConnectPackages(
	OfflineWebApplicationConnection connection,
	string applicationPatientId
)

Parameters

connection
Type: Microsoft.Health.Web..::..OfflineWebApplicationConnection
The connection to HealthVault to use for this operation.
applicationPatientId
Type: System..::..String
The application specific user ID that was used to create the connection request.

ExceptionCondition
System..::..ArgumentNullException If connection is null.
System..::..ArgumentException If applicationPatientId is null or empty.
Microsoft.Health..::..HealthServiceException If an error occurs when contacting HealthVault.
Show:
© 2015 Microsoft