UpdateConnectPackageApplicationPatientIdForIdentityCode Method

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

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

public:
static void UpdateConnectPackageApplicationPatientIdForIdentityCode(
	OfflineWebApplicationConnection^ connection, 
	String^ identityCode, 
	String^ newApplicationPatientId
)

Parameters

connection
Type: Microsoft.Health.Web..::..OfflineWebApplicationConnection
The HealthVault connection to use for the operation.
identityCode
Type: System..::..String
The unique token that identifies the package.
newApplicationPatientId
Type: System..::..String
The new application patient identifier.

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